docopts icon indicating copy to clipboard operation
docopts copied to clipboard

Shell interpreter for docopt, the command-line interface description language.

Results 29 docopts issues
Sort by recently updated
recently updated
newest added

Hi > Note that due to the above, docopts can't be used to parse shell function arguments: exit(1) quits the entire interpreter, not just the current function. Would be really...

enhancement
waiting for more example

1. When docopts is run inside functions it shall not exit but rather return. 2. Variables should be defined using local. This PR solves #43.

use case `show_env` is listed and not trigered, but `create_target_group` is remove from action list, but still in the `if .. elif .. fi` **WARNING**: this bash eval at `true`...

enhancement

With the latest docopts-go build: ```bash #!/usr/bin/env bash # file: atest.sh arg='' eval "$(./docopts -V - -h - : "$@"

blocked by docopt parser
discussion

Hi there. I needed a way to parse arguments in my bash scripts without external dependencies, so I wrote [docopt.sh](https://github.com/andsens/docopt.sh). It's an argument parser generator for docopt. I see it...

announce
discussion

I was trying to get repeated `-v` arguments working to increase level of verbosity (as used by ssh, rsync, ansible, etc). This seems to be [supported by docopt](https://github.com/docopt/docopt/issues/30), based on...

blocked by docopt parser

Following #35: this is a twin issue with the project [docopt.sh](https://github.com/andsens/docopt.sh) - twin issue https://github.com/andsens/docopt.sh/issues/7 `docopt.sh` use global vars with or without prefix the non letter, number characters are converted...

If you relay on $PATH to execute `docopts` and `docopts` is the python version, you get misbehavior. Especially using bash wrapper `doctops.sh` which doesn't stop on `-h`. So some checks...

provide a debian package for `docopts`. Other package will be added. Ask for it or contribute. We need: - [ ] man page - [ ] other package requisites -...

More to come and to be edited in this issue / tracking discussion. See [grammar branch](https://github.com/docopt/docopts/blob/dev-grammar/grammar/TODO.md) The docopt parent project is stalled so mostly all parser improvement. I love parsing,...

enhancement
discussion