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
Hi, my cli starts with a dynamic welcome mesaage. Something like:
Bash> Cool-program
Hello, welcome to cool-program the date is 20/6/2022.
Usage:
...
Commands:
Do_something1
Do_something2
I followed the click tutorial and added bash completion. However, my welcome message (Hello, welcome to cool-program.) is shown as an option for completion.
I would like to exclude this option and only use commands as completetion options.
I have yet to find a nice (without manualy changing the completion bash script that was generated by click).
Any suggestions?
Thanks :)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, my cli starts with a dynamic welcome mesaage. Something like:
Bash> Cool-program
Hello, welcome to cool-program the date is 20/6/2022.
Usage:
...
Commands:
Do_something1
Do_something2
I followed the click tutorial and added bash completion. However, my welcome message (Hello, welcome to cool-program.) is shown as an option for completion.
I would like to exclude this option and only use commands as completetion options.
I have yet to find a nice (without manualy changing the completion bash script that was generated by click).
Any suggestions?
Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions