MCPcopy Create free account
hub / github.com/dropbox/dbxcli / commandInputSchemaExcludesAsMember

Function commandInputSchemaExcludesAsMember

cmd/help_input_schema.go:98–106  ·  view source on GitHub ↗
(cmd *cobra.Command)

Source from the content-addressed store, hash-verified

96}
97
98func commandInputSchemaExcludesAsMember(cmd *cobra.Command) bool {
99 if cmd == nil {
100 return false
101 }
102 return cmd.Root() == cmd ||
103 commandSkipsAuth(cmd) ||
104 isNoAuthCommand(cmd) ||
105 commandHasTopLevelName(cmd, "completion")
106}
107
108func commandInputSchemaIncludesFlag(flag jsonCommandFlag) bool {
109 switch flag.Name {

Callers 1

commandInputSchemaFlagsFunction · 0.85

Calls 3

commandSkipsAuthFunction · 0.85
isNoAuthCommandFunction · 0.85
commandHasTopLevelNameFunction · 0.85

Tested by

no test coverage detected