Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Completions for snap #4215
Basic completions for snap. Still need to work out quirks with couple of the commands. Putting this here for feedback.
I ran into an issue with the
So you mean the
complete -f -c snap -n '__fish_snap_using_subcommand connect' -a '(__fish_snap_connectable_snaps):(__fish_snap_interfaces)'
The two command substitutions will be combined in a cartesian product, so this should result in the correct thing.
If this however results in too many candidates, you can use