Documentation
¶
Index ¶
- func Add(cfg storage) *cobra.Command
- func Current(cfg storage, v vcs) *cobra.Command
- func Del(cfg storage) *cobra.Command
- func Export(cfg storage) *cobra.Command
- func Import(cfg storage) *cobra.Command
- func List(cfg storage) *cobra.Command
- func Use(cfg storage, v vcs) *cobra.Command
- func Version(c *Cmd) *cobra.Command
- type Cmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cmd ¶ added in v1.3.0
type Cmd struct {
cobra.Command
// Version is the version number or commit hash
// These variables should be set by the linker when compiling
Version string
// CommitHash is the git hash of last commit
CommitHash string
// CompileDate is the date of build
CompileDate string
// contains filtered or unexported fields
}
Cmd is an CLI app
Click to show internal directories.
Click to hide internal directories.