-
Notifications
You must be signed in to change notification settings - Fork 89
Migrate life cycle commands from jfrog-cli to jfrog-cli-artifactory #1351
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
Conversation
plugins/components/commandcomp.go
Outdated
| } | ||
| } | ||
|
|
||
| func WithHiddenTrue() StringFlagOption { |
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.
A similar func already exists - SetHiddenStrFlag
plugins/common/utils.go
Outdated
| return os.Getenv(envKey) | ||
| } | ||
|
|
||
| func CreateDownloadConfiguration(c *components.Context) (downloadConfiguration *artifactoryUtils.DownloadConfiguration, err error) { |
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.
Some of these aren't really plugins utils, I suggest placing them in jfrog-cli-artifactory.
In addition, since they duplicate existing functions in jfrog-cli (only differ in context), let's try to make a common function out of them or somehow overcome the context difference
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.
Agree moved lifecycle functions to jfrog-cli-artifactory

Uh oh!
There was an error while loading. Please reload this page.