2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-01-16 23:14:04 +00:00
fish-shell/share/completions/gresource.fish

15 lines
796 B
Fish
Raw Normal View History

# Completions for gresource (a part of GLib)
# Global options
complete -f -c gresource -l section -d "Select which section to operate on"
# Commands
complete -f -c gresource -n __fish_use_subcommand -a list -d "List resource sections"
complete -f -c gresource -n __fish_use_subcommand -a details -d "List resources with details"
complete -f -c gresource -n __fish_use_subcommand -a extract -d "Extract a resource"
complete -f -c gresource -n "__fish_not_contain_opt section && __fish_use_subcommand" -a sections -d "List resource sections"
complete -f -c gresource -n "__fish_not_contain_opt section && __fish_use_subcommand" -a help -d "Prints help"
# Arguments of help command
2020-11-22 13:39:48 +00:00
complete -f -c gresource -n "__fish_seen_subcommand_from help" -a "list details extract sections help" -d Command