explosion / weasel

🦦 weasel: A small and easy workflow system
MIT License
63 stars 8 forks source link

Display context-sensitive commands in help #72

Closed adrianeboyd closed 10 months ago

adrianeboyd commented 10 months ago

Description

Parse parent command from typer context in order display either weasel or spacy project in help messages depending on how weasel was called.

For weasel, both parent commands python -m weasel and weasel appear to be preserved in the help output.

For spacy project, the parent command appears to always be python -m spacy.

Types of change

Bug fix?

Checklist