Move all cloud
commands to top-level root
#117
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of your changes
Moves all
cloud
commands to the top-level root, resulting in:up login
up logout
up controlplane ...
This is a fairly large breaking change, but should be straightforward for users to adapt to. The most noticeable change is that the on-disk config file structure is slightly modified. But a user running
up login
will automatically have their config file restructured in the new format. They will be required to login each profile they previously had.Expand for prior command structure
Expand for new command structure
Fixes #114
I have:
make reviewable
to ensure this PR is ready for review.backport release-x.y
labels to auto-backport this PR, as appropriate.How has this code been tested
I have tested each set of the commands that have been moved, including:
up login
up login -a dan
up logout
up ctp create test -a dan
up ctp kubeconfig get --token=<token> <cp-id> -a dan
k get pods -A
up ctp token list <cp-id> -a dan
up ctp delete <cp-id>