airshipctl/cmd/config
Drew Walters 5d83122b17 [#6] Add config init subcommand
This change introduces logic for the config init subcommand, which
generates an airshipctl configuration file with default values. The
default values are extracted from constants and change when the source
code is updated.

Closes #6

Change-Id: I452e26bc5a924f0cdcd3153a9b124d23e2e5b1f0
Signed-off-by: Drew Walters <andrew.walters@att.com>
2020-02-17 16:22:10 -06:00
..
testdata [#6] Add config init subcommand 2020-02-17 16:22:10 -06:00
config_test.go Tighten the restrictions of the linter 2020-01-10 14:54:34 -06:00
config.go Fix various code style issues 2020-02-07 09:28:18 -06:00
get_authinfo_test.go Introduces config cmd's for set-credentials and get-credentials 2020-02-04 13:01:19 -05:00
get_authinfo.go [#27] Move execution logic from cmd to pkg 2020-02-11 15:33:47 -06:00
get_cluster_test.go This tests get-cluster with the pre-built CmdTest 2019-11-15 10:30:41 -06:00
get_cluster.go [#27] Move execution logic from cmd to pkg 2020-02-11 15:33:47 -06:00
get_context_test.go Fix various code style issues 2020-02-07 09:28:18 -06:00
get_context.go [#27] Move execution logic from cmd to pkg 2020-02-11 15:33:47 -06:00
init_test.go [#6] Add config init subcommand 2020-02-17 16:22:10 -06:00
init.go [#6] Add config init subcommand 2020-02-17 16:22:10 -06:00
set_authinfo_test.go [#34] Add tests to commands expecting N args 2020-02-12 14:11:30 +00:00
set_authinfo.go [#27] Move execution logic from cmd to pkg 2020-02-11 15:33:47 -06:00
set_cluster_test.go Fix cluster name parsing 2020-02-07 21:58:10 +04:00
set_cluster.go [#27] Move execution logic from cmd to pkg 2020-02-11 15:33:47 -06:00
set_context_test.go [#34] Add tests to commands expecting N args 2020-02-12 14:11:30 +00:00
set_context.go [#27] Move execution logic from cmd to pkg 2020-02-11 15:33:47 -06:00