dropbox / dbxcli

A command line client for Dropbox built using the Go SDK
Other
1.04k stars 102 forks source link

improved docuemtation (for put) #175

Closed szabgab closed 2 years ago

szabgab commented 2 years ago

I am trying to figure out how put works so I ran dbxcli put -h and this was the ourput:

Upload files

Usage:
  dbxcli put [flags] <source> [<target>]

Flags:
  -h, --help   help for put

Global Flags:
      --as-member string   Member ID to perform action as
  -v, --verbose            Enable verbose logging

From this it seems the target is optional, but unclear what will happen if I don't provide it.

From this I could not guess that the target needs to include the name of the the target file, and I cannot "put a file into a directory" (see #174)

It is unclear if I can put a whole directory recursively or just individual files?

It would be nice to clarify these in the help.