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

Function commandSupportsStructuredOutput

cmd/output.go:295–297  ·  view source on GitHub ↗
(cmd *cobra.Command)

Source from the content-addressed store, hash-verified

293}
294
295func commandSupportsStructuredOutput(cmd *cobra.Command) bool {
296 return cmd != nil && cmd.Annotations[structuredOutputSupportedAnnotation] == "true"
297}
298
299func enableStructuredOutput(cmd *cobra.Command) {
300 if cmd.Annotations == nil {

Calls

no outgoing calls