Documentation ¶
Overview ¶
Package cmd handles flags and commands management.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "dfsst", Short: "DFSS TTP v" + dfss.Version, Long: `DFSS TTP v ` + dfss.Version + ` Trusted third party resolver for the Distributed Fair Signing System project Sign your contract using a secure cryptographic protocol`, Run: func(cmd *cobra.Command, args []string) { _ = cmd.Help() }, PersistentPreRun: func(cmd *cobra.Command, args []string) { dapi.Configure(viper.GetBool("verbose"), viper.GetString("demo") != "", viper.GetString("demo"), "ttp") }, PersistentPostRun: func(cmd *cobra.Command, args []string) { dapi.DClose() }, }
RootCmd is the main command for the dfsst application
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.