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 trying to reduce call length for my swagger-generated cli from my-cli operations doSmth ("operations" stand for default package name)
to just my-cli doSmth
using Centos server with bash.
my-cli is stored to /usr/bin .
/etc/bash_completion.d/ contains script generated by my-cli completion bash
Complete command rerturns such string( amon many unrelated of course): complete -o default -F __start_myclient my-client
However, there are no change at my-cli call behaviour - still it requires completion/operations/help keywords , without direct access to commands from operation package.
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
-
I am trying to reduce call length for my swagger-generated cli from
my-cli operations doSmth
("operations" stand for default package name)to just
my-cli doSmth
using Centos server with bash.
my-cli is stored to /usr/bin .
/etc/bash_completion.d/ contains script generated by
my-cli completion bash
Complete command rerturns such string( amon many unrelated of course):
complete -o default -F __start_myclient my-client
However, there are no change at my-cli call behaviour - still it requires completion/operations/help keywords , without direct access to commands from operation package.
Would be greatefull for some enlightment
Beta Was this translation helpful? Give feedback.
All reactions