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

[CI-3190] Improve parameter logging #1000

Merged
merged 7 commits into from
Sep 11, 2024

Conversation

tothszabi
Copy link
Contributor

@tothszabi tothszabi commented Sep 9, 2024

Checklist

Version

Requires a PATCH version update

Context

The previous command line parser was not handling all the edge cases and was logging incorrect data. For example, us and the users are calling the CLI with not a fix parameter type order.

In this iteration I am relying on the urfave/cli package to get access to the parameter list. It already knows the correct parameters for a given command / subcommand so by the time the action starts we can have access to a correct parameter list.

@tothszabi tothszabi force-pushed the CI-3190-improve-parameter-logging branch from bdf8a15 to 9860ff8 Compare September 9, 2024 13:24
@tothszabi tothszabi marked this pull request as ready for review September 10, 2024 05:52
cli/command_analytics.go Outdated Show resolved Hide resolved
cli/command_analytics.go Outdated Show resolved Hide resolved
@tothszabi tothszabi merged commit 3956185 into master Sep 11, 2024
5 checks passed
@tothszabi tothszabi deleted the CI-3190-improve-parameter-logging branch September 11, 2024 07:50
@godrei godrei mentioned this pull request Sep 25, 2024
2 tasks
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.

2 participants