Skip to content
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

Introduce concept of current profile #361

Closed
Tracked by #1158
ycombinator opened this issue May 21, 2021 · 0 comments · Fixed by #1140
Closed
Tracked by #1158

Introduce concept of current profile #361

ycombinator opened this issue May 21, 2021 · 0 comments · Fixed by #1140
Labels
enhancement New feature or request

Comments

@ycombinator
Copy link
Contributor

With #301 elastic-package got an awesomely powerful system of user-supplied configuration profiles, managed via the elastic-package profiles sub-command suite. As a follow up enhancement, it would be nice if users could select or set the current profile.

Specific impacts of adding the concept of a current profile:

  • expose a command like elastic-package profiles set <profile ID> or similar that would allow users to set the current profile. Initially, before this command is ever run by a user, the profile with the lowest creation timestamp, which will usually be the default profile should be the current profile.
  • profile-aware commands like elastic-package stack should use the current profile as the default profile, when a different profile isn't explicitly supplied to such commands.
  • the elastic-package profiles list command should mark which profile in the list is the current profile.
  • the elastic-package profiles delete <profile ID> should forbid deletion of the current profile.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant