Add .types() for command arguments
Open
- Dominant language
- JavaScript
- Stars
- 5.6k
- Forks
- 278
- PR merge metrics
- No merged PRs in 30d
Description
Command arguments are automatically assigned a type but there doesn't seem to be any support for explicit typing like with options. When entering in a phone number with special characters like so:
```
vorpal.command("send ")
app$ send +1212345678 "hello world"
```
the argument "number" is converted to a number, omitting the + symbol. Furthermore, I think the .types() function available for options should also support command arguments.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.