Skip to content

Add version to Top Level CMD #11

@acornett21

Description

@acornett21

Is your feature request related to a problem? Please describe.

Since there are no top level cmds there, it might be natural for a user to run discover-workload version, which then kicks off the discovery process, and/or errors.

Describe the solution you'd like.

Create a top level version cmd to avoid this problem, and so the user doesn't have to remember between --version or version (since various CLI's use either/or or both.

Describe alternatives you've considered.

NA

Additional context.

Log for context

❯ discover-workload version
time=2025-05-30T07:54:00.855-07:00 level=INFO msg="starting to watch for workloads" duration=1m0s
time=2025-05-30T07:54:00.869-07:00 level=INFO msg="watching for workloads" namespace=version
^C

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions