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

Function setRestoreOutputJSON

cmd/restore_test.go:287–293  ·  view source on GitHub ↗
(t *testing.T, cmd *cobra.Command)

Source from the content-addressed store, hash-verified

285}
286
287func setRestoreOutputJSON(t *testing.T, cmd *cobra.Command) {
288 t.Helper()
289
290 if err := cmd.Flags().Set(outputFlag, "json"); err != nil {
291 t.Fatal(err)
292 }
293}
294
295type restoreOutput struct {
296 Input restoreInput `json:"input"`

Calls

no outgoing calls

Tested by

no test coverage detected