diff --git a/completions/_dropbox b/completions/_dropbox new file mode 100644 index 00000000..563d9182 --- /dev/null +++ b/completions/_dropbox @@ -0,0 +1,18 @@ +#compdef dropbox + +# Dropbox CLI completion + +_arguments "1:Command:(( + status\:'get current status of the dropboxd' + help\:'provide help' + puburl\:'get public url of a file in your dropbox' + stop\:'stop dropboxd' + running\:'return whether dropbox is running' + update\:'download latest version of dropbox' + start\:'start dropboxd' + filestatus\:'get current sync status of one or more files' + ls\:'list directory contents with current sync status' + autostart\:'automatically start dropbox at login' + exclude\:'ignores/excludes a directory from syncing' + lansync\:'enables or disables LAN sync' +))"