Skip to content

Releases: docopt/docopts

bug fix v0.6.4-with-no-mangle-double-dash

16 Sep 16:07
Compare
Choose a tag to compare

This is a bug fix release.

features changes:

  • fix error refusing mangling double dash in global mode [#52]
  • still refuse to mangle single dash [-] in global mode (not compatible with v0.6.1)
  • now can mangle single-dash and double-dash in -G mode
  • fix output bash empty array #53

internal changes:

  • use Go 1.17.1 for compiling
  • language_agnostic_tester.py re-write for python3
  • sort argument key in Print_bash_args() Print_bash_global()
  • sort input keys in docopts_test.go
  • add PR #52 test to testcases.docopt
  • completed developper's documentation
  • #52 ignore [--] double-dash option in Print_bash_global()
  • reformat of Go code with gofmt indent change Space ==> Tab
  • add tests/functional_tests_docopts.bats

docopts binary transitional v0.6.3-rc2

05 Apr 05:13
Compare
Choose a tag to compare

This is a transitional release.

It supports all the previous command line API plus some extra options.
Fully compatible with previous 0.6.2 python code for Bash.
See: https://github.com/docopt/docopts/tree/v0.6.1%2Bfix

based on master branch

features changes:

  • docopts.sh function docopt_get_help_string() now uses awk to extract only first Usage:

internal changes:

  • use Go 1.14 for compiling
  • more pre-built binaries, removed darwin/386
  • fixed #44 get_docopts.sh for MACOS + functionnal tests
  • removed bats git submodule
  • use bats-core 1.2-dev as testing framework from travis
  • deploy.sh removed, now use its own repository
  • updated Makefile to use get_ldflags.sh from deploy.sh
  • travis hack to get faster build on macos with our embedded bash5 binary

docopts binary transitional v0.6.3-rc1

05 Aug 07:15
Compare
Choose a tag to compare

This is a transitional release.

It supports all the previous API plus some extra command line options.
Fully compatible with previous 0.6.2 python code for Bash.
See: https://github.com/docopt/docopts/tree/v0.6.1%2Bfix

based on master branch

changes:

  • more test for MACOS
  • bash 3.2 support is more documented and fixed
  • use bats-core as testing framework
  • updated README merged from old README.rst
  • now documentation introduce docopts.sh See docs
  • added Makefile
  • added build_doc.sh PoC markdown preprocessor

all examples written for docopts:

  • shebang conversion #!/bin/bash ==> #!/usr/bin/env bash
  • legacy example completed
  • example from README extracted a file, and merged in README via build_doc.sh
  • sshdiff full example coded
  • added examples with --auto -G

docopts.sh helper:

  • is more documented in the code
  • as a documenation in docs/README.md
  • now supports bash strict mode (set -euo pipefail)
  • now supports --auto -G to auto parse with global vars (doesn't use bash 4 associative array)

docopts behavior sould be unchanged:

  • add mangled name collision detection

docopts for Bash first release in golang

21 Feb 13:25
Compare
Choose a tag to compare

This is a transitional release. It is a complete rewrite of the python's code in go.
It supports all the previous API plus some extra command line options.

Fully compatible with previous 0.6.2 python code for Bash.

based on https://github.com/docopt/docopts/tree/packaging-debian

last python version

20 Jun 02:19
Compare
Choose a tag to compare

This version is the last python version using the docopt python library to parse option.