-
Notifications
You must be signed in to change notification settings - Fork 192
Remove the -a
option from slcli user create
#1377
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
Conversation
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.
Just remove the lines instead of commenting them out.
Thanks.
SoftLayer/CLI/user/create.py
Outdated
@@ -29,9 +29,9 @@ | |||
"supersedes this template.") | |||
@click.option('--template', '-t', default=None, | |||
help="A json string describing https://softlayer.github.io/reference/datatypes/SoftLayer_User_Customer/") | |||
@click.option('--api-key', '-a', default=False, is_flag=True, help="Create an API key for this user.") | |||
# @click.option('--api-key', '-a', default=False, is_flag=True, help="Create an API key for this user.") |
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.
Just remove this line
SoftLayer/CLI/user/create.py
Outdated
if api_key: | ||
click.secho("Adding API key...", fg='green') | ||
new_api_key = mgr.add_api_authentication_key(result['id']) | ||
# new_api_key = None |
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.
Remove these, instead of commenting them out.
Regarding the analysis errors, I created #1378 to address that since that isn't part of your change specifically. |
#1372