digitalocean / digitalocean/doctl
Allow configuring defaults per context
- Dominant language
- Go
- Stars
- 3.4k
- Forks
- 496
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 31
Description
Right now we can use the context parameter to create different auth-contexts on the `config.yaml`, which already helps a lot, but I have a few suggestions on top of that:
1) Although stateless has it's advantages, it'd be nice to have an option to modify default behaviour to stateful.
2) It would be nice to have other settings be context aware, like `compute.ssh.ssh-key-path`, `compute.ssh.ssh-user`, `compute-ssh.ssh-port` and many other things.
The ability to have the option of setting context in a stateful way makes suggestion (2) above make even more sense. You switch the context once and all those settings are already adjusted for you, so no need to be passing them as arguments on the command-line.
Contributor guide
Assessment
This issue has not been assessed yet.