Skip to content

docopts inside functions

Latest
Compare
Choose a tag to compare
@rqelibari rqelibari released this 22 Jan 22:38
· 16 commits to master since this release

Added -f, --functions option to docopts, so it can be used inside shell functions too. If the option is given, variables will be declared local and instead of exit is replaced by return.