mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 10:30:28 +08:00
feat: Yeoman support
This commit is contained in:
parent
b3ed2f215b
commit
4108306e45
9
share/completions/yo.fish
Normal file
9
share/completions/yo.fish
Normal file
|
@ -0,0 +1,9 @@
|
|||
complete -c yo -s h -l help -d 'Show help'
|
||||
complete -c yo -s v -l version -d 'Show version'
|
||||
|
||||
complete -c yo -s f -l force -d 'Allow overwrite files that already exist'
|
||||
complete -c yo -l no-color -d 'Disable colors'
|
||||
complete -c yo -l generators -d 'List available generators'
|
||||
complete -c yo -l local-only -n '__fish_seen_subcommand_from --generators' -d 'Disable lookup of globally-installed generators'
|
||||
|
||||
complete -c yo -a '(yo --generators | sed -n "3,\$p" | sed "\$d" | string replace --regex "^\s+" "")'
|
Loading…
Reference in New Issue
Block a user