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

Function commandOutput

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

Source from the content-addressed store, hash-verified

227}
228
229func commandOutput(cmd *cobra.Command) *output.Renderer {
230 if cmd == nil {
231 return output.New(nil, nil, output.FormatText)
232 }
233
234 return output.New(cmd.OutOrStdout(), cmd.ErrOrStderr(), commandOutputFormat(cmd))
235}
236
237func commandOutputFormat(cmd *cobra.Command) output.Format {
238 format, err := commandOutputFormatE(cmd)

Callers 15

accountFunction · 0.85
listMembersFunction · 0.85
parsePutOptionsFunction · 0.85
addMemberFunction · 0.85
listGroupsFunction · 0.85
commandVerboseStatusFunction · 0.85
shareListFoldersFunction · 0.85
shareLinkInfoFunction · 0.85
renderSearchOutputFunction · 0.85
loginFunction · 0.85
infoFunction · 0.85

Calls 2

NewFunction · 0.92
commandOutputFormatFunction · 0.85