MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / SelectAllFlagSet

Function SelectAllFlagSet

cmd/ttn-lw-cli/internal/util/flags.go:128–132  ·  view source on GitHub ↗

SelectAllFlagSet returns a flagset with the --all flag

(what string)

Source from the content-addressed store, hash-verified

126
127// SelectAllFlagSet returns a flagset with the --all flag
128func SelectAllFlagSet(what string) *pflag.FlagSet {
129 flagSet := &pflag.FlagSet{}
130 flagSet.Bool("all", false, fmt.Sprintf("select all %s fields", what))
131 return flagSet
132}
133
134// UnsetFlagSet returns a flagset with the --unset flag
135func UnsetFlagSet() *pflag.FlagSet {

Callers 11

end_devices.goFile · 0.92
clients.goFile · 0.92
users.goFile · 0.92
applications.goFile · 0.92
gateways.goFile · 0.92
organizations.goFile · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected