-
Notifications
You must be signed in to change notification settings - Fork 149
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
Introducing a new approach to building Kopia commands using safecli/command package #2653
Conversation
af7fce3
to
0f635ad
Compare
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.
Overall looks good to me, added some minor questions/suggestions.
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.
LGTM, though I only see dependency import so I suppose only that's needed as part of this PR since functions have moved to safecli repo.
Signed-off-by: pavel.larkin <pavel.larkin@veeam.com>
Signed-off-by: pavel.larkin <pavel.larkin@veeam.com>
Signed-off-by: pavel.larkin <pavel.larkin@veeam.com>
Signed-off-by: pavel.larkin <pavel.larkin@veeam.com>
Signed-off-by: pavel.larkin <pavel.larkin@veeam.com>
Signed-off-by: pavel.larkin <pavel.larkin@veeam.com>
Signed-off-by: pavel.larkin <pavel.larkin@veeam.com>
3567381
to
dcd6425
Compare
require github.com/kanisterio/safecli v0.0.6 | ||
|
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.
[nit] Can we merge this require
block into any existing one instead of creating new?
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.
I would keep it in this PR since we have refs to this head PR everywhere. It looks like we have all PRs approved, so I'm going to merge this train on Monday.
Signed-off-by: pavel.larkin <pavel.larkin@veeam.com>
Change Overview
This PR is the first in the series of PRs that will add a new way to build Kopia CLI commands.
The functionality introduced in this PR lays the foundation for subsequent PRs. It introduces a new version of safecli@v0.0.6, which features a higher level API. This API is designed to implement arguments, options, and options with arguments more effectively.
PR Train:
Pull request type
Please check the type of change your PR introduces:
Test Plan