Add gnome-extensions completion#8732
Merged
Merged
Conversation
faho
requested changes
Feb 16, 2022
8eea5d7 to
e5bc12b
Compare
Member
|
Merged, thanks! |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a completion for gnome-extensions, a CLI tool for managing GNOME shell extensions.
It's a man page for a reference:
https://manpages.ubuntu.com/manpages/focal/man1/gnome-extensions.1.html
I create it as a draft, as it is my first completion for Fish and I have a few questions about possible enhancements (see TODOs).
Possibly some things can be done easier, so please do not hesitate to make also other suggestions :).
TODOs:
gnome-extensions listcan only accept options/switches. Is it possible to show them ifTABis pressed? Now, one needs to write-to have the options shown.gnome-extensions create --uuidrequires UUID value. Can do anything to suggest--uuid=? Or even block other--completion until some UUID is passed?pack --out-dirwhere a directory should be passed.