airshipctl/cmd/cluster
Ruslan Aliev bc90c4f39e Move config init and load from root cmd level
There are several commands which do not require to load config:
completion, help, secret, version. Hovewer, PersistentPreRun call
at root level forces airshipctl to load config anyway. Therefore,
we can observe unnecessary config load errors instead of actual result.
This patch moves config load to subcommand level where it is necessary.

Change-Id: I774a7d038c408e71688f7bf04f1cb87a2132a342
2020-05-09 01:51:09 -05:00
..
testdata Add airshipctl cluster init command 2020-04-30 16:44:47 -05:00
cluster_test.go Add airshipctl cluster init command 2020-04-30 16:44:47 -05:00
cluster.go Move config init and load from root cmd level 2020-05-09 01:51:09 -05:00
init.go Add airshipctl cluster init command 2020-04-30 16:44:47 -05:00
initinfra_test.go Define a standard for creating commands 2020-04-24 10:50:59 -05:00
initinfra.go Define a standard for creating commands 2020-04-24 10:50:59 -05:00