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

Update version command to get version of particular component #63

Closed

Conversation

pratap0007
Copy link
Contributor

This patch adds flag component to get the
version of a particular component and also
version command show available component versions

@pratap0007 pratap0007 force-pushed the opc-version-command branch from 8b8e351 to 4d9e6d7 Compare May 25, 2023 16:31
This patch adds flag `component` to get the
version of a particular component and also
version command show available component versions

Signed-off-by: Shiv Verma <[email protected]>
@pratap0007 pratap0007 force-pushed the opc-version-command branch from 4d9e6d7 to 18be3d7 Compare May 25, 2023 18:23
return fmt.Errorf("unknown component: %v", args[1])
}
if args[0] == "pac" {
fmt.Fprintf(cmd.OutOrStdout(), "%s\n", v.Opc)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is that intended?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should be able to get the pac version from runtime as cli

Copy link
Member

@chmouel chmouel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it gets complicated enough that we need to start having unittest now, any chance you can add some (and a way to run them via makefile and actions CI)?

@pratap0007
Copy link
Contributor Author

closing this PR as there is better implementation in this PR #161

@pratap0007 pratap0007 closed this Jun 25, 2024
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