Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = models.Command{ Name: "targets", ShortHelp: "Operations for working with signed targets", LongHelp: "<code>targets</code> allows interactions with content verified targets in a repository. " + "This command cannot be run directly, but has subcommands.", CmdFunc: func(settings *models.Settings) func(cmd *cli.Cmd) { return func(cmd *cli.Cmd) { cmd.CommandLong(listCmd.Name, listCmd.ShortHelp, listCmd.LongHelp, listCmd.CmdFunc(settings)) cmd.CommandLong(deleteCmd.Name, deleteCmd.ShortHelp, deleteCmd.LongHelp, deleteCmd.CmdFunc(settings)) cmd.CommandLong(statusCmd.Name, statusCmd.ShortHelp, statusCmd.LongHelp, statusCmd.CmdFunc(settings)) cmd.CommandLong(resetCmd.Name, resetCmd.ShortHelp, resetCmd.LongHelp, resetCmd.CmdFunc(settings)) } }, }
Cmd is the contract between the user and the CLI. This specifies the command name, arguments, and required/optional arguments and flags for the command.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.