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

Function testRestoreCmd

cmd/restore_test.go:278–285  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

276}
277
278func testRestoreCmd() (*cobra.Command, *bytes.Buffer) {
279 var stdout bytes.Buffer
280 cmd := &cobra.Command{Use: "restore"}
281 cmd.SetOut(&stdout)
282 cmd.Flags().BoolP("verbose", "v", false, "")
283 cmd.Flags().String(outputFlag, "text", "")
284 return cmd, &stdout
285}
286
287func setRestoreOutputJSON(t *testing.T, cmd *cobra.Command) {
288 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected