airshipctl/cmd/config
Yasin, Siraj (SY495P) 01d66c834d Organize CLI helper functions
* moving cli helper functions to the respective packages with _helper.
* removed cmds.go within pkg/ dir and added config_helper.go

* In the first commit(https://review.opendev.org/#/c/707216/) commit CLI helper
  functions were moved from the cmd/config package to the pkg/config package
* Now we are trying to move the CLI helper functions within their respective packages instead of a command cmds.go.
* Creating and implementing this convention will help us better distinguish library code and CLI helper code
* Added MaxNArgs as 1 for get-credentials and updated test cases

Relates-To: #43
Change-Id: Ibb8139102bd98c6c7596bd97377cf83381cbeb00
2020-04-17 09:28:18 -05:00
..
testdata Organize CLI helper functions 2020-04-17 09:28:18 -05:00
config.go Add copyright for missing files 2020-04-09 08:35:59 -05:00
config_test.go Properly locate tests within a config_test pkg for pkg/config and cmd/config 2020-03-11 16:21:57 -07:00
get_authinfo.go Organize CLI helper functions 2020-04-17 09:28:18 -05:00
get_authinfo_test.go Organize CLI helper functions 2020-04-17 09:28:18 -05:00
get_cluster.go Organize CLI helper functions 2020-04-17 09:28:18 -05:00
get_cluster_test.go Refactor of codebase addressing IDE errors 2020-04-14 15:55:04 -04:00
get_context.go Organize CLI helper functions 2020-04-17 09:28:18 -05:00
get_context_test.go Remove getters/setters of AirshipCTLSettings 2020-04-08 09:00:32 -05:00
init.go Remove getters/setters of AirshipCTLSettings 2020-04-08 09:00:32 -05:00
init_test.go [#6] Add config init subcommand 2020-02-17 16:22:10 -06:00
set_authinfo.go Remove getters/setters of AirshipCTLSettings 2020-04-08 09:00:32 -05:00
set_authinfo_test.go Remove getters/setters of AirshipCTLSettings 2020-04-08 09:00:32 -05:00
set_cluster.go Remove getters/setters of AirshipCTLSettings 2020-04-08 09:00:32 -05:00
set_cluster_test.go Remove getters/setters of AirshipCTLSettings 2020-04-08 09:00:32 -05:00
set_context.go Remove getters/setters of AirshipCTLSettings 2020-04-08 09:00:32 -05:00
set_context_test.go Remove getters/setters of AirshipCTLSettings 2020-04-08 09:00:32 -05:00
use_context.go Remove getters/setters of AirshipCTLSettings 2020-04-08 09:00:32 -05:00
use_context_test.go Remove getters/setters of AirshipCTLSettings 2020-04-08 09:00:32 -05:00