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

Function newAuthTestCommand

cmd/root_test.go:229–238  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

227}
228
229func newAuthTestCommand() *cobra.Command {
230 root := &cobra.Command{Use: "dbxcli"}
231 root.PersistentFlags().String(outputFlag, "text", "")
232 cmd := &cobra.Command{Use: "ls"}
233 cmd.Flags().BoolP("verbose", "v", false, "")
234 cmd.Flags().String("as-member", "", "")
235 cmd.Flags().String("domain", "", "")
236 root.AddCommand(cmd)
237 return cmd
238}
239
240func TestInitDbxSkipsAuthForLocalCommands(t *testing.T) {
241 t.Setenv(envAccessToken, "")

Calls

no outgoing calls

Tested by

no test coverage detected