docopts
docopts copied to clipboard
Shell interpreter for docopt, the command-line interface description language.
## Summary 1. Replace bespoke `deploy.sh` script with the [`goreleaser`](https://github.com/goreleaser/goreleaser) library - Basically implementing https://github.com/docopt/docopts/issues/59#issuecomment-1108109979 2. Replace outdated custom dependency management with standard, built-in [Go modules](https://go.dev/blog/using-go-modules) ## Details - `deploy.sh`...
## Summary Migrate CI from Travis to GitHub Actions, ensure tests run on macOS - Fixes #54 ## Details - Travis CI is only [_pseudo_-free](https://travis-ci.community/t/org-com-migration-unexpectedly-comes-with-a-plan-change-for-oss-what-exactly-is-the-new-deal/10567) after the .org -> .com...
## Problem Installation [currently](https://github.com/docopt/docopts#install) requires not just downloading pre-built binaries via GitHub Releases, but also cloning the repo or otherwise downloading the `docopts.sh` helper. ## Suggested Solution Distributing via a...
## Summary Use `HOMEBREW_NO_AUTO_UPDATE=1 brew install bash` to install `bash5` via Brew and [skip Brew's slow auto-update](https://apple.stackexchange.com/a/293252/167983) ## Details - per the deleted in-line comments, the reason it was installed...
## Summary Install `bats-core` with `git clone ... --depth=1` as an optimization ## Details - should be a good bit faster than cloning with the whole history ## Testing Can...
Following #59 (Search "`Sidebar -- docopts.sh entrypoint wrapper`" heading) We discussed how to embed `docopts.sh` wrapper into `docopts` binary itself. One of the purpose is to keep a single standalone...
There was a CI builder, which mainly useful for macos building. It seems it's no more working: https://travis-ci.community/t/org-com-migration-unexpectedly-comes-with-a-plan-change-for-oss-what-exactly-is-the-new-deal/10567 Do we need a CI for `docopts`? How to setup a new...
It is due to the pre-built binaries don't have a "darwin" and "arm", I think. Since M1 macs are out for a while now, do you think the pre-built binary...
Hi, The issue I mentioned in the subject appears to indicate that it's the expected behavior of docopts not to show the full help message on errors. Question I have...
On my macOS, it works; but on my linux, `get_docopts.sh` (from [script](https://github.com/docopt/docopts/blob/e83355beb848573a3894a9ae0a5258d985ff4f6d/get_docopts.sh)) fails with: ``` Saving to: ‘docopts_linux_amd64’ 100%[==================================================================================================================================================================================================================================================================================================================================>] 1,949,696 --.-K/s in 0.04s 2021-11-19 14:51:33 (41.8 MB/s) - ‘docopts_linux_amd64’ saved...