-
Notifications
You must be signed in to change notification settings - Fork 15
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
Print options in a sleek table format #11
Comments
Thanks for creating |
@yudai-nkt You're welcome! I just realized there had been some contributor activity on this repo :-) Will be taking a look soon! |
@yudai-nkt So I've taken a quick look at #12, and that's looking great. What I'm thinking though is that we might want to let users decide which style they'd like, or at least introduce a I guess what could be feasible would be a new ::: mkdocs-click
:module: example.cli
:command: main
:style: table If we do that, I'd expect the implementation to be purely additive, i.e. the current Makes sense? |
I need to dig into your codebase to find out how the I want to ask two questions before working on this feature:
def _make_options(ctx, style="plain"):
if style == "plain":
# format options here
elif style == "table":
# format options here
else:
# raise some ValueError |
@yudai-nkt 👍 The |
#25 is ready for your review, @florimondmanca! |
Options are currently documented in a plain format as if they were copy-pasted from a terminal emulator. I'd be happy if they are rendered in a human-readable HTML table.
The text was updated successfully, but these errors were encountered: