You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works as expected, which is great. My problem however is that I really want to have the name of the setuputil's script entry-point appear at the prompt instead, as this is realistically how most users will invoke the command. It would be nice if an option could be added to modify/override the command that appears at the prompt.
The text was updated successfully, but these errors were encountered:
If you're only using the directive once, you could (ab)use programoutput_prompt_template in the sphinx setup to do this. Something like programoutput_prompt_template = "$ my_entry_point --help\n{output}".
In my current use case I'm capturing the help output of a command within a project I'm documenting.
Something like so:
Which builds to:
This works as expected, which is great. My problem however is that I really want to have the name of the setuputil's script entry-point appear at the prompt instead, as this is realistically how most users will invoke the command. It would be nice if an option could be added to modify/override the command that appears at the prompt.
The text was updated successfully, but these errors were encountered: