Validate CLI user input
Open
@Shinigami92 is already working on this.
Since Jul 8, 2020.
cli
enhancement
keep-unstale
- Dominant language
- JavaScript
- Stars
- 3.3k
- Forks
- 474
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 12
Description
Is your feature request related to a problem? Please describe.
No user-entered values are currently being checked or validated during parsing
This can lead to undesirable behavior
Describe the solution you'd like
Check user input that can be passed via CLI options
Additional context
While working on #489 several problems were found and some TODOs were added
rulesdirneeds to be a validstringandpathrulesneeds to be a validstringand must be parsed torulesetconfigneeds to be a validstringandpath
all values are optional
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.
Assessment
This issue has not been assessed yet.