Print imported information after running `config import`
- Dominant language
- Go
- Stars
- 39
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
_Originally posted by @blanquicet in https://github.com/Azure/kubectl-aks/pull/52#discussion_r1478434793_:
If we check, we always execute `config show` after a `config import`. I started thinking that we should automatically print the imported data in the `config import` (maybe with a `--quiet` flag). Also for the documentation, it makes things more consistent. For instance:
Import node info:
```bash
kubectl aks config import
```
Run command against one of the nodes:
```bash
kubectk aks run-command --node
```
Users will take the node name from the previous `config import` output, they we don't need to ask them to also run `config show`.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the `config import` command and compare its current behavior with `config show`; the issue explains that imported node information should be printed immediately. Check the related `run-command --node` usage and documentation, and consider the existing `config show` output as the expected information. Done means users can obtain the node name from `config import` without an additional `config show` step.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, go, kubernetes
- Domain
- cli, cloud
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100