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

Function isNoAuthCommand

cmd/help_json.go:538–545  ·  view source on GitHub ↗
(cmd *cobra.Command)

Source from the content-addressed store, hash-verified

536}
537
538func isNoAuthCommand(cmd *cobra.Command) bool {
539 switch cmd.Name() {
540 case "login", "logout":
541 return true
542 default:
543 return false
544 }
545}
546
547func commandHasTopLevelName(cmd *cobra.Command, name string) bool {
548 var topLevel *cobra.Command

Callers 2

commandManifestAuthModesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected