You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am making a CLI app and want to implement the sub command complete that does what the above command do and move the completion file to specific directory to automate the shell completion setup. Yet, as I checked the docs, I could not find anything regarding the generation of the completion file ( I only found complete and complete_shell macro).
Is there any public function that is working behind --bpaf-complete-style-zsh ?
The text was updated successfully, but these errors were encountered:
Not at the moment. But you can execute your own program again with this flag. So user calls your_program complete and the program then prepares and executes command your_program --bpaf-complete-style-zsh.
I'll try to make this bit of API public at some point.
Thank you so much for your prompt reply.
Your suggestion works greatly as I have tasted it with my CLI application! I can generate the shell completion script within the application using std::process::Command::new("my-application"). I will leave this issue open but please close it if you don't need it.
According to the README, the following command is used to output the shell completion
I am making a CLI app and want to implement the sub command
complete
that does what the above command do and move the completion file to specific directory to automate the shell completion setup. Yet, as I checked the docs, I could not find anything regarding the generation of the completion file ( I only foundcomplete
andcomplete_shell
macro).Is there any public function that is working behind
--bpaf-complete-style-zsh
?The text was updated successfully, but these errors were encountered: