Created
March 20, 2024 15:41
-
-
Save ccoVeille/b78a446dc5b65ed7db2150e30e9fc2f7 to your computer and use it in GitHub Desktop.
fish autocomplete for github.com/theimpossibleastronaut/rmw 0.9.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# fish autocomplete for rmw | |
# put this file in ~/.config/fish/completions/rmw.fish | |
# and that's it | |
complete rmw -l version -d 'Display rmw version' | |
complete rmw -s h -l help -d 'display help' | |
complete rmw -s v -l verbose -d 'Explain what is done' | |
complete rmw -s R -s r -l recursive -d 'Recursively remove subdirs' | |
complete rmw -s i -l interactive -d 'Prompt for removal (not implemented)' | |
complete rmw -s f -l force -d 'Never prompt for removal' | |
complete rmw -s l -l list -d 'list waste directories' | |
complete rmw -l empty -d 'completely empty (purge) all waste directories' | |
complete rmw -l warranty -d 'display warranty' | |
complete rmw -s g -l purge -d 'purge expired files' | |
complete rmw -s z -l restore -d 'restore FILE(s)' | |
complete rmw -s s -l select -d 'select files from list to restore' | |
complete rmw -s u -l undo-last -d 'undo last move' | |
complete rmw -s m -l most-recent-list -d 'list files most recently deleted with rmw' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For record, from this proof of concept
I opened an issue theimpossibleastronaut/rmw#436
then an PR theimpossibleastronaut/rmw#440