diff options
Diffstat (limited to 'gdrive.go')
| -rw-r--r-- | gdrive.go | 12 | 
1 files changed, 12 insertions, 0 deletions
| @@ -101,6 +101,12 @@ func main() {                          Description: "Download path",                      },                      cli.BoolFlag{ +                        Name: "delete", +                        Patterns: []string{"--delete"}, +                        Description: "Delete remote file when download is successful", +                        OmitValue: true, +                    }, +                    cli.BoolFlag{                          Name: "noProgress",                          Patterns: []string{"--no-progress"},                          Description: "Hide progress", @@ -155,6 +161,12 @@ func main() {                          Description: "Share file",                          OmitValue: true,                      }, +                    cli.BoolFlag{ +                        Name: "delete", +                        Patterns: []string{"--delete"}, +                        Description: "Delete local file when upload is successful", +                        OmitValue: true, +                    },                      cli.IntFlag{                          Name: "chunksize",                          Patterns: []string{"--chunksize"}, | 
