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

Function commandOutputFormat

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

Source from the content-addressed store, hash-verified

235}
236
237func commandOutputFormat(cmd *cobra.Command) output.Format {
238 format, err := commandOutputFormatE(cmd)
239 if err != nil {
240 return output.FormatText
241 }
242 return format
243}
244
245func commandOutputFormatE(cmd *cobra.Command) (output.Format, error) {
246 value := string(output.FormatText)

Callers 13

cpFunction · 0.85
putFunction · 0.85
mkdirFunction · 0.85
commandOutputFunction · 0.85
shareLinkDownloadFunction · 0.85
renderSearchOutputFunction · 0.85
mvFunction · 0.85
logoutFunction · 0.85
renderRevisionsOutputFunction · 0.85
renderLsOutputFunction · 0.85

Calls 1

commandOutputFormatEFunction · 0.85

Tested by

no test coverage detected