Skip to content

feat(cli): display nixopus current app version #396

@zhravan

Description

@zhravan

Description:

Currently, the CLI can display its own version (build version), but there is no direct way to check the Nixopus instance version that is running from the CLI.

Adding this makes it easier for anyone to quickly check the version of the Nixopus App that is currently running.

Currently, below command provides us with CLI build version

nixopus version

or

nixopus --version

Expectation:

There should be a command that provides us with current application version that is deployed:

nixopus version         # Shows both version, if app is not there, can show NIL
nixopus version --cli   # Show only CLI version
nixopus version --app   # Show only App version

Note:

  1. CLI version refers to Nixopus CLI
  2. App version refers to Frontend+Backend (both Frontend and Backend are versioned together)

Some approaches:

  1. App version can be fetched via API, create a public API returning JSON app-version, which reads the app version via config

If you have any other approach, we can talk about it on this issue thread.


Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions