Skip to content

feat: Add -v/--version flags to check the current installed version #30

Description

@Draculabo

Description

It would be highly beneficial to add a -v or --version flag to the CLI.

Motivation / Use Case

When running or troubleshooting scripts that depend on this library, I often need to verify whether the locally installed npm package is running the latest version or if it's outdated.

Currently, there is no quick way to check the currently running version directly via the CLI, making it harder to debug version-specific issues or confirm if an upgrade (via npm install) was successful.

Having a -v or --version flag will allow users to quickly output the current version string and compare it with the repository's latest release.

Proposed Behavior

Running the CLI with -v or --version should print the current installed version:

devspace -v
# or
devspace --version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions