Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetOwnershipDataCmd = &subcommands.Command{ UsageLine: "ownership-data ...", ShortDesc: "Get ownership data by filters", LongDesc: `Get ownership data by filters. Example: shivas get ownership-data {name1} shivas get ownership-data {name1} {name2} shivas get ownership-data Gets the ownership data and prints the output in the user-specified format.`, CommandRun: func() subcommands.CommandRun { c := &getOwnershipData{} c.authFlags.Register(&c.Flags, site.DefaultAuthOptions) c.envFlags.Register(&c.Flags) c.commonFlags.Register(&c.Flags) c.outputFlags.Register(&c.Flags) c.Flags.IntVar(&c.pageSize, "n", 0, cmdhelp.ListPageSizeDesc) c.Flags.BoolVar(&c.keysOnly, "keys", false, cmdhelp.KeysOnlyText) c.Flags.StringVar(&c.commitsh, "commitsh", "", "Commitsh to get ownership configs at a particular commit. Only one commitsh can be specified.") return c }, }
GetOwnershipDataCmd gets the ownership by the given name.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.