Skip to content

Conversation

@bhanurp
Copy link
Contributor

@bhanurp bhanurp commented Feb 18, 2025

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • All static analysis checks passed.
  • This pull request is on the dev branch.
  • I used gofmt for formatting the code before submitting the pull request.

  • Moved some common functions used across commands from cli to cli-core

@bhanurp bhanurp marked this pull request as ready for review February 18, 2025 12:01
@RobiNino RobiNino changed the base branch from master to dev February 19, 2025 12:03
}
}

func WithHiddenTrue() StringFlagOption {
Copy link
Contributor

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

return os.Getenv(envKey)
}

func CreateDownloadConfiguration(c *components.Context) (downloadConfiguration *artifactoryUtils.DownloadConfiguration, err error) {
Copy link
Contributor

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

Copy link
Contributor Author

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

@github-actions
Copy link
Contributor

👍 Frogbot scanned this pull request and did not find any new security issues.


@bhanurp bhanurp added ignore for release Automatically generated release notes and removed improvement Automatically generated release notes labels Mar 24, 2025
@bhanurp bhanurp merged commit cd78601 into jfrog:dev Mar 24, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ignore for release Automatically generated release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants