ntu/completions/ntu.fish

22 lines
1.1 KiB
Fish
Raw Normal View History

# Fish completion for ntu (NameToUnix)
# Main command
complete -c ntu -f -d 'Sanitize file and directory names to Unix conventions'
# Options
complete -c ntu -s r -l recursive -d 'Process directories recursively'
complete -c ntu -l conf -d 'Use specific configuration file' -r -F
complete -c ntu -s q -l quiet -d 'Suppress output (no rename information)'
complete -c ntu -s n -l dry-run -d 'Show what would be renamed without making changes'
complete -c ntu -l no-changes -d 'Alias for --dry-run'
complete -c ntu -s f -l force -d 'Overwrite existing files'
complete -c ntu -s e -l exclude -d 'Exclude files matching pattern' -r
complete -c ntu -s v -l verbose -d 'Show verbose debug information'
complete -c ntu -l modify-root -d 'Allow renaming the root directory'
complete -c ntu -l special -d 'Process symbolic links and special files'
complete -c ntu -l no-color -d 'Disable colored output'
complete -c ntu -s h -l help -d 'Print help information'
complete -c ntu -s V -l version -d 'Print version information'
# File/directory completion for paths
complete -c ntu -a '(__fish_complete_path)' -d 'Path to process'