happybeing / happybeing/safe-drive
Implement `--version` command line parameter
- Dominant language
- JavaScript
- Stars
- 14
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
The code already has cli parameters to use when authenticating (using yargs, see ./bin.js).
The most important one to add is --version, which should report the version specified in package.json.
At the same time it would be sensible to add --help which should report the version and give some basic information about the command.
We can leave explicit mount control parameters until later, but the idea is that you can either run without those and get defaults, or you can give a series of 'mount this here with optional permissions' type instructions from the command line, or perhaps a config file that is specified on the command line.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in ./bin.js, where the existing yargs command-line parameters are defined, and check package.json for the version value. Implement --version to report that value and --help to show the version with basic command information. Run both parameters through the CLI and confirm the output is useful and consistent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100