This is the only way how we can make sure that we show all aplications
that user has created (even all the empty ones).
This commit also adds 'application delete'
This commit notifies the user if a newer ocdev release is available
than the release that they have installed right now.
If there is an error getting the new release, the error is ignored
but logged, because this should not block program execution.
Applications are now grouped using labeles.
'app.kubernetes.io/name' is used for application grouping
'app.kubernetes.io/component-name' is used for component grouping
It is also possible to add additional labels to applications.
Currently there is 'app' label for OpenShift console.
Till now we were getting non zero exit codes in case of running
commands like `ocdev component create nodejs --from-dir=...`
because it logged to STDERR as well as to STDOUT, while the
command still exited successfully.
This commit moves over to checking the exit code for the same
instead of relying on STDERR output.
This is a very poor fix for the flaky test, but I think this should
work for now. The test was "occasionally" failing because the order
in a map is not maintained, so the conversion to string was failing
at times. This commit fixes that.
This commit refactors the `ocdev component` parts to better print,
and also fixes the error when `ocdev component get` will not return
an error when no component is set
This commit modifies occlinet.go file to accept type OcClient as
input. Also adds a utility function to check for the current
project been set by the user.
This commit adds the config package which has all the methods
related to storing and retrieving ocdev configuration from disk.
Also adds some utility functions for the same.