-
Notifications
You must be signed in to change notification settings - Fork 137
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
Versions and completions #251
Versions and completions #251
Conversation
Signed-off-by: Marques Johansson <marques@packet.com>
Signed-off-by: Marques Johansson <marques@packet.com>
Signed-off-by: Marques Johansson <marques@packet.com>
Signed-off-by: Marques Johansson <marques@packet.com>
f9500b2
to
9b625aa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, but I would like to get the documentation updated about how to setup completion as part of this work.
@DailyAlice can help to find a good place for that I think.
PR is great! Thank you for taking care of it
@gianarb I can move completions to another PR and rebase either this PR or that one after merge. If it helps, I can create a markdown and/or man-page generation process here. https://github.com/packethost/packet-cli/tree/master/docs is generated on each |
I don't understand @displague . I think we should just write somewhere how to set up completion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like documentation is on hold for now. This is good to go!
Description
make test
(did not test anything before)tink-cli --version
outputtink-server
andtink-worker
do not currently take parameters, the version is now emitted at start.tink-server
emits this at INFO level (because it is a long-lived process)tink-worker
emits this at DEBUG level (because the default run is quiet, afaict)tink-cli completion
subcommandWhy is this needed
Fixes: #94
How Has This Been Tested?
tink-cli completion --help
tink-cli completion bash
How are existing users impacted? What migration steps/scripts do we need?
Checklist:
I have: