missing `--version` option
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 32
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
Description
It would be cool to introduce a -v, --version option besides the -h, --help option to identify the tool version.
Besides, it is mentioned in the bug issue template to use it to get the tool version 😉
Use case
This option could be just useful to get the tool version.
Also it does not need to be an opion but it could be just a different command like spfx version
Alternatives considered
We could just run npm list -g --depth=0 and check the package version there
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by locating the CLI entry point and the package version metadata, then trace how the existing -h, --help option is registered. Done means the tool reports its version through -v, --version or an equivalent version command, with the behavior covered by the project's relevant checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- cli, developer-experience
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100