Add `as_command` decorator to simplify adding of new commands
Open
enhancement
- Dominant language
- Jupyter Notebook
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Convert this:
```python
nbdev_thing = thing.nbdev_thing.__wrapped__ # remove call_parse
@delegates(nbdev_thing)
def thing(**kwargs):
nbdev_thing(**kwargs)
nbdev_thing.rich_help_panel = 'Amazing thing'
nbdev_thing.no_args_is_help=False
```
to this:
```python
@as_command('Amazing thing')
@delegates(nbdev_thing)
def thing(**kwargs):
nbdev_thing(**kwargs)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.