docopt icon indicating copy to clipboard operation
docopt copied to clipboard

This project is no longer maintained. Please see https://github.com/jazzband/docopt-ng

Results 132 docopt issues
Sort by recently updated
recently updated
newest added

Sorry to create an issue for this but I don't know where else to ask. - 11 months without any activity on master, 28 PR waiting. - "The first release...

This declaration: ``` Usage: cmd [(ARG [-o OPT])...] Options: -o OPT Description ``` When invoked as: ``` cmd arg1 -o opt1 arg2 arg3 -o opt3 ``` Produces wrong result: ```...

Suppose you have a docstring as follows. Its intent is that the `-s|--short` option applies only to the `info` command, while the others apply to all commands: ``` Usage: prog...

I would like to have a second version-like argument (`--git`) that just prints a hash and quits ``` myprog Lorem ipsum. Usage: myprog [options] Argument: Some file. Options: -h, --help...

According to the [following line](https://github.com/docopt/docopt/blob/20b9c4ffec71d17cee9fd963238c8ec240905b65/examples/git/git.py#L51) in `examples/git/git.py` ``` elif args[''] in ['help', None]: ``` running `./git.py` should give the same message as running `./git.py help`. But it gives only the...

Hi there, It would be great to be able to ignore not specified options when parsing arguments. My use case is that some runtime invokes my python script with additional...

I absolutely love docopt! (Even when not leveraging docopt for actual parsing, I use the online tester for generating usage docs.) Are there any known conventions for documenting global or...