Implement subcommands
- Dominant language
- R
- Stars
- 13
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Implement git-style subcommands:
``` r
sys$cmdline$parse(cmd('install', install,
arg('name', 'the module to install'),
opt('f', 'force', 'force override the target')),
cmd('uninstall', uninstall,
arg('name', 'the module to uninstall')))
```
With input `'install target --force'` would call `install(name = 'target', force = TRUE)`.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing sys$cmdline$parse and the cmd, arg, and opt entry points shown in the issue. Implement dispatch based on the first subcommand, positional name handling, and the force option; done means the install example calls install(name = 'target', force = TRUE) and uninstall accepts its name argument.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100