support `--version` to output version information
- Dominant language
- Go
- Stars
- 11
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
I'm the maintainer of [Dorothy](https://github.com/bevry/dorothy) and we have a command called [command-working](https://github.com/bevry/dorothy/blob/master/commands/command-working) which checks if a command is working by trying ` --version` and ` --help` among other things, neither of which return an exist status of `0`, `22`, or `200`. Would be good of `--version` could return exit status `0`.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue provides no file or test path. Start by locating the Go CLI entry point and its existing flag handling, then run rmtrash --version; done means the command outputs version information and exits with status 0. Check for an existing CLI test location and add coverage there if one exists.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100