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

Support --version option #25

Merged
merged 1 commit into from
Dec 1, 2021

Conversation

k-toumura
Copy link
Contributor

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

(Fixes #23)
Support --version option.

% node bin/nrlint.js
Error: no input file
Lint tool for Node-RED flows (v1.0.2-git)
    Usage: nrlint [-h] [-c configfile] flows.json

    Options:
      -h, --help                   Show this help
      -c, --config configfile      Configuration file to use, otherwise use .nrlintrc.js
      -f, --format outputFormat    Output format: 'default,json'
      --debug                      Output debugging information
      --init                       Generate a default configuration
      --version                    Output version information and exit

% node bin/nrlint.js --version
1.0.2-git

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the forum/slack team.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Nov 8, 2021

CLA Signed

The committers are authorized under a signed CLA.

@knolleary knolleary merged commit 9b27a60 into node-red:master Dec 1, 2021
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.

Support nrlint --version
2 participants