airshipctl/cmd
Yasin, Siraj (SY495P) 8d97d5d7ee [#57] - Added --current flag to set-context
* Added --current flag to set-context command to use current-context
when context not provided
* Added validation to throw error when both context and --current flag
* Updated golden files to match the recent change
given
* Added validation to check if current context is set when --current
flag is provided

Old Format: airshipctl config set-context default --manifest default --namespace default
New Format: airshipctl config set-context --current --manifest default --namespace default

Change-Id: I9ffe3a34f33ffd7ff03ca42de7609f91f5386b37
2020-02-24 19:02:20 +00:00
..
bootstrap Switch remote direct to airshipctl configuration 2020-02-07 22:01:45 +04:00
cluster Update references to 'kubernetes' to proper name 2019-10-30 11:37:43 -05:00
completion [#34] Add tests to commands expecting N args 2020-02-12 14:11:30 +00:00
config [#57] - Added --current flag to set-context 2020-02-24 19:02:20 +00:00
document Merge "[#42] Refactor flag operations to be uniform" 2020-02-20 18:52:08 +00:00
testdata Add testing expectations 2019-11-07 11:37:53 -06:00
root.go Fix various code style issues 2020-02-07 09:28:18 -06:00
root_test.go [#28] Fix bad defaults for config file paths. 2020-02-10 16:25:43 -06:00
version.go Rename module to reflect its new location 2019-07-01 12:15:29 -05:00
version_test.go Add testing expectations 2019-11-07 11:37:53 -06:00