dfss: github.com/Lesterpig/dfss/dfssc/cmd Index | Files

package cmd

import "github.com/Lesterpig/dfss/dfssc/cmd"

Package cmd handles flags and commands management.


Package Files

authenticate.go fetch.go impexp.go new.go recover.go register.go root.go show.go sign.go unregister.go


var RootCmd = &cobra.Command{
    Use:   "dfssc",
    Short: "DFSS command-line client",
    Long: `Command-line client v` + dfss.Version + ` for the
Distributed Fair Signing System project

A tool to sign multiparty contract using a secure cryptographic protocol`,
    Run: func(cmd *cobra.Command, args []string) {
        _ = cmd.Help()
    PersistentPreRun: func(cmd *cobra.Command, args []string) {
        net.DefaultTimeout = viper.GetDuration("timeout")
        dapi.Configure(viper.GetBool("verbose"), viper.GetString("demo") != "", viper.GetString("demo"), "client")
    PersistentPostRun: func(cmd *cobra.Command, args []string) {

RootCmd is the main command for the dfssc application

Package cmd imports 23 packages (graph). Updated 2016-07-21. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).

The go get command cannot install this package because of the following issues: