Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultStorageDir = "storage"
DefaultStorageDir is the default directory name in which data is stored relatively to the cozy-dispers binary.
Variables ¶
View Source
var ErrUsage = errors.New("Bad usage of command")
ErrUsage is returned by the cmd.Usage() method
View Source
var RootCmd = &cobra.Command{ Use: "cozy-dispers <command>", Short: "cozy-dispers is the main command", Long: `Cozy-DISPERS is a privacy-by-designed platform that make Cozy Stacks participate to queries.`, PersistentPreRunE: func(cmd *cobra.Command, args []string) error { return config.Setup(cfgFile) }, RunE: func(cmd *cobra.Command, args []string) error { return cmd.Usage() }, SilenceUsage: true, SilenceErrors: true, }
RootCmd represents the base command when called without any subcommands
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.