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

Function jsonManifestCommandPath

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

Source from the content-addressed store, hash-verified

407}
408
409func jsonManifestCommandPath(cmd *cobra.Command) string {
410 if cmd == nil {
411 return ""
412 }
413 if cmd.Root() == cmd {
414 return cmd.Name()
415 }
416 return jsonCommandPath(cmd)
417}
418
419func jsonCommandFlags(cmd *cobra.Command, metadata map[string]jsonCommandFlagMetadata) []jsonCommandFlag {
420 flagsByName := make(map[string]jsonCommandFlag)

Callers 1

jsonCommandManifestForFunction · 0.85

Calls 1

jsonCommandPathFunction · 0.85

Tested by

no test coverage detected