Skip to content

how to handle __main__.py entry point in help output #58

Description

@sander76

when you are calling your cli as a module which has a __main__.py entrypoint your help output shows like this:

Usage: __main__.py [Arguments] [Options]

which is not very descriptive. An alternative is preferred.
I don't know how click/typer/argparse manage this, but it could serve as inspiration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions