()
| 913 | } |
| 914 | |
| 915 | func 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 | } |
nothing calls this directly
no test coverage detected