Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show origin of subcommands in help message #20

Merged
merged 5 commits into from
Dec 22, 2022

Conversation

ryanking13
Copy link
Member

Close: #18

This appends "Registered-by: " at the bottom of the help message of each subcommand.

In terminal it is displayed like this:

image

I'm not sure how it will be rendered in docs though (will it parse markdown...?)

Copy link
Member

@rth rth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thank you!

I'm not sure how it will be rendered in docs though (will it parse markdown...?)

Well no the docstring should be RST.

@rth
Copy link
Member

rth commented Dec 21, 2022

The rendered docs looks like this,
image

maybe it would actually be better to remove the itemize

@ryanking13
Copy link
Member Author

Thanks! I dropped itemize:

image

@rth rth merged commit aec438a into pyodide:main Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add orgin of subcommands
2 participants