doc: add docs corresponding to the flag
test: update the tests
Description
Motivation and Context
Closes #194
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Screenshots (if appropriate):
How Has This Been Tested?
[x] I have tested using MacOS
I am using the changed version for weeks and did not encounter an error
[ ] I have tested using Linux
Don't have a Linux running
Checklist:
[x] I have checked that no other PR duplicates mine
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have updated the tests accordingly.
Actually, I wanted to change the test to be more expressive, but currently it seems that mock can only mock max 2 levels. kubectl config 0 works but kubectl config current-context 0 does not. Do you have an idea why?
doc: add docs corresponding to the flag test: update the tests
Description
Motivation and Context
Closes #194
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?
Checklist:
kubectl config 0
works butkubectl config current-context 0
does not. Do you have an idea why?