Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetNamespace = &subcommands.Command{ UsageLine: "get-namespace", ShortDesc: "print the namespace", LongDesc: `Print the namespace.`, CommandRun: func() subcommands.CommandRun { c := &getNamespaceRun{} c.authFlags.Register(&c.Flags, site.DefaultAuthOptions) c.envFlags.Register(&c.Flags) return c }, }
GetNamespace is a diagnostic utility that shows the current namespace based on the environment and other factors.
View Source
var Update = &subcommands.Command{ UsageLine: "upgrade", ShortDesc: "upgrade shivas", LongDesc: `Upgrade shivas. This is a thin wrapper around CIPD.`, CommandRun: func() subcommands.CommandRun { c := &updateRun{} c.authFlags.Register(&c.Flags, site.DefaultAuthOptions) c.Flags.BoolVar(&c.dev, "dev", false, "Upgrade to dev version") return c }, }
Update subcommand: Update shivas tool.
View Source
var Version = &subcommands.Command{ UsageLine: "version", ShortDesc: "print shivas version", LongDesc: "Print shivas version.", CommandRun: func() subcommands.CommandRun { c := &versionRun{} c.authFlags.Register(&c.Flags, site.DefaultAuthOptions) c.Flags.BoolVar(&c.short, "short", false, "if printing a short version of shivas") return c }, }
Version subcommand: Version shivas.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.