-
-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fish shell completion for cement itself. #651
Comments
@tomclad thank you for the request. Installing Cement itself would not be able to create this file as we only package the Python library and rely on those tools for install (PIP, etc). That said there are some options:
This request is for Cement devtools, though just wanted to note there are some docs for guides on doing this for apps built on Cement and making note here that we should add something for fish there as well: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System Information
request
I request you to include this cement completion file in cement. I am submitting this through issues is because I don't know how to modify and submit PR for cement. I am new to github and programming in general.
I request you to install cement.fish file in users ~/.config/fish/completions/ in future cement realeases.
shellingham package can be used to detect the shell and if shell is found to be fish it can be installed at above location.
Issue
I have been using cement developer tools for creating projects, plugins, extension, etc.
It was tedious to write commands all the time. so I have written fish shell completion for cement.
According to fish shell this completion file only needs to saved at one of the following locations here
I have put my cement completion file at ~/.config/fish/completions
and it works as intended.
as it can be seen from below screenshot.
Below script not only supports command completions but also all option completion for cement itself also for generate sub-command.
and also supports option completion for sub-commands of generate sub-command. :-)
Fish shell completion file
above file needs to be saved as follows.
~/.config/fish/completions/cement.fish
cheers. :=)
The text was updated successfully, but these errors were encountered: