Added completion of the argument for the composer show command

This commit is contained in:
Sergei Morozov 2019-11-13 11:44:12 -08:00 committed by ridiculousfish
parent 4de9a3e102
commit 9251601e0b

View File

@ -267,6 +267,7 @@ complete -f -c composer -n '__fish_composer_using_command self-update' -l 'snaps
complete -f -c composer -n '__fish_composer_using_command self-update' -l 'set-channel-only' -d 'Only store the channel as the default one and then exit'
# show
complete -f -c composer -n '__fish_composer_using_command show' -a "(__fish_composer_installed_packages)"
complete -f -c composer -n '__fish_composer_using_command show' -l 'all' -d 'List all packages'
complete -f -c composer -n '__fish_composer_using_command show' -l 'installed' -d 'List installed packages only (enabled by default, only present for BC).'
complete -f -c composer -n '__fish_composer_using_command show' -l 'platform' -d 'List platform packages only'