aboutsummaryrefslogtreecommitdiffstats
path: root/gdrive.go
diff options
context:
space:
mode:
Diffstat (limited to 'gdrive.go')
-rw-r--r--gdrive.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdrive.go b/gdrive.go
index 8b2ea97..443d677 100644
--- a/gdrive.go
+++ b/gdrive.go
@@ -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"},