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

Function init

cmd/put.go:915–923  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

913}
914
915func init() {
916 RootCmd.AddCommand(putCmd)
917 enableStructuredOutput(putCmd)
918 putCmd.Flags().BoolP("recursive", "r", false, "Recursively upload directories")
919 putCmd.Flags().IntP("workers", "w", 4, "Number of concurrent upload workers for chunked large-file uploads")
920 putCmd.Flags().Int64P("chunksize", "c", 1<<24, "Chunk size in bytes for chunked large-file uploads; must be a multiple of 4MiB and no more than 128MiB")
921 putCmd.Flags().BoolP("debug", "d", false, "Print debug timing")
922 putCmd.Flags().String("if-exists", putIfExistsOverwrite, "What to do when the destination file exists: overwrite, skip, or fail")
923}

Callers

nothing calls this directly

Calls 1

enableStructuredOutputFunction · 0.85

Tested by

no test coverage detected