Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial command restructure #272

Merged
merged 2 commits into from
Oct 17, 2018
Merged

Initial command restructure #272

merged 2 commits into from
Oct 17, 2018

Conversation

richardcase
Copy link
Contributor

@richardcase richardcase commented Oct 17, 2018

Description

Prior to adding 'create/get/delete nodegroup' (#257) some refactoring
has been done on the commands. We had a single file for all
the commands for that verb so this has been changed to separate
folders/files.

The version command has been left where it for simplicity with the code gen as its already in main.

The new package name has been called `pkg/ctl' based on feedback.

Checklist

  • Code compiles correctly (i.e make build)
  • Added tests that cover your change (if possible)
  • All tests passing (i.e. make test)
  • Added/modified documentation as required (such as the README)
  • Added yourself to the humans.txt file

Prior to adding 'create/get/delete nodegroup' some refactoring
has been done on the commands. We had a single file for all
the commands for that verb so this has been changed to separate
folders/files.

Signed-off-by: Richard Case <richard.case@outlook.com>
The 'pkg/commands' package has been renamed to
'pkg/ctl' based on feedback.

Signed-off-by: Richard Case <richard.case@outlook.com>
)

var (
utilsKubeconfigInputPath string

This comment was marked as abuse.

@richardcase richardcase merged commit 17f03b1 into master Oct 17, 2018
@richardcase
Copy link
Contributor Author

Thanks @Lazyshot

@errordeveloper errordeveloper deleted the command-refactor branch October 17, 2018 15:28
@errordeveloper
Copy link
Contributor

🎉

@Raffo Raffo mentioned this pull request Oct 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants