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
[mesheryctl] Merging PreRunE
for command and Preflight
checks
#2779
Conversation
Signed-off-by: Piyush Singariya <piyushsingariya@gmail.com>
Signed-off-by: Piyush Singariya <piyushsingariya@gmail.com>
Signed-off-by: Piyush Singariya <piyushsingariya@gmail.com>
Deploy preview for meshery-docs ready! Built with commit 077b484 |
Signed-off-by: Piyush Singariya <piyushsingariya@gmail.com>
Signed-off-by: Piyush Singariya <piyushsingariya@gmail.com>
Signed-off-by: Piyush Singariya <piyushsingariya@gmail.com>
@piyushsingariya Shouldn't every |
Yeah, they should be changed but i didn't because |
I think that it should be changed, unless we have any strong reason to do otherwise. The |
Waiting for a confirmation.... |
Signed-off-by: Piyush Singariya <piyushsingariya@gmail.com>
Agreed. However, not all commands call preRun function, wherever applicable, replace with preflight. |
@hexxdump +1 |
Signed-off-by: Piyush Singariya <piyushsingariya@gmail.com>
Signed-off-by: Piyush Singariya <piyushsingariya@gmail.com>
@hexxdump @leecalcote @navendu-pottekkat I updated all the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@piyushsingariya Looks good ⚡
@piyushsingariya, centralizing these check is fantastic. In terms of where they get exposed in the CLI, here's my thinking:
Given this, will you move |
Yeah, I'll be removing the |
Sounds good, @piyushsingariya. Two tweaks:
|
@leecalcote I'm up for it! 💪 ✌️ |
@piyushsingariya here we are - #2823 |
@piyushsingariya #2823 has your name written all over it! |
Signed-off-by: Piyush Singariya <piyushsingariya@gmail.com>
Signed-off-by: Piyush Singariya <piyushsingariya@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's move forward and revisit as needed as we progress.
Description
Read the full description #2767
This PR fixes #2767