securesauce/precli

Add —token to argparse rule

Closed this issue · 0 comments

Is your feature request related to a problem? Please describe.
Some code uses --token instead of --api-token

Describe the solution you'd like
Add --token to the arguments to check for.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
https://github.com/canonical/microk8s/blob/master/scripts/wrappers/add_token.py#L146

Love this idea? Give it a 👍. We prioritize fulfilling features with the most 👍.