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

feat: add CLI Version to default output #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

flawidjuego
Copy link

Running njs2 will now output:

CLI Version: 2.0.0-beta.1

njs2 project <project-name>
njs2 endpoint <endpoint-name>
njs2 run serverless
njs2 run express
njs2 run nodemon
njs2 plugin-local <plugin-name> <plugin-project-path>
njs2 plugin <plugin-name>
njs2 plugin uninstall <plugin-name>
njs2 plugin compile
njs2 plugin install <plugin-name>
njs2 library <folder-name> <filename> <options : [sql,mongo]>
njs2 upgrade [version] [version-number]

Instead of:


njs2 project <project-name>
njs2 endpoint <endpoint-name>
njs2 run serverless
njs2 run express
njs2 run nodemon
njs2 plugin-local <plugin-name> <plugin-project-path>
njs2 plugin <plugin-name>
njs2 plugin uninstall <plugin-name>
njs2 plugin compile
njs2 plugin install <plugin-name>
njs2 library <folder-name> <filename> <options : [sql,mongo]>
njs2 upgrade [version] [version-number]

This way we can know the version of the CLI we're running on.

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.

1 participant