platform9 / cctl

Apache License 2.0
47 stars 8 forks source link

cctl tries to read state file before running any command #96

Closed dlipovetsky closed 6 years ago

dlipovetsky commented 6 years ago

Not all commands need the state file to be read.

dlipovetsky commented 6 years ago

The code in https://github.com/platform9/cctl/blob/75828be/cmd/root.go#L38 should be factored out to the commands that need to read the state file.

sarun87 commented 6 years ago

This needs to be fixed for issue #120