-
Notifications
You must be signed in to change notification settings - Fork 57
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
'profile activate' and 'profile list' commands #432
Conversation
for #386 |
|
My first reaction is we should really consider displaying the used profile in this context. I could see a number of cases where you forgot which profile was active and did "bad things". i.e.
|
Are you thinking that isn't enough? I'm hesitant to log things without getting the |
I think I'm ok with this as is. I've thought about it, and the risk of destructive mistakes is low as deleting a resource by id will fail on the wrong profile as the resources likely have a different ID. |
True, but you're right about the possibility of confusing users. I'll add some verbiage to the command usage string about that. |
I also added a |
What does that do for default? |
No change. Default is always considered. If a profile is active,
|
Running |
From the help output:
|
IsAdmin to limit commands
The most recent commit removes the In addition, it only lets users run the Does this sound reasonable @kenperkins ? If so, I'll add a section about it to the advanced configuration section of the docs. Note: The admin-only functionality will exist for some features/commands that few users will need ( #371 ). I don't know if this is one of them, but I thought it could at least start out that way, and maybe change pending further interest. |
The flag in the default profile for enabling profile activation has been changed from "admin" to "enable-profile-activate". For now, it must be added manually. |
👀 Preview |
🔎 Preview |
No description provided.