This is
posix shell
version of binary2npm
Prepare execution script for linking binaries from other tools/languages
Currently supports only GitHub API
npm install dalisoft/binary2sh
# or
yarn install dalisoft/binary2sh
# or
bun add dalisoft/binary2sh
Replace
jsona
with your repository
npx --yes dalisoft/binary2sh --repository=jsona/jsona --name=jsona
# or
bunx dalisoft/binary2sh --repository=jsona/jsona --name=jsona
# or
curl -fsSL https://raw.githubusercontent.com/dalisoft/binary2sh/master/bin-dl.sh | sh /dev/stdin --repository=jsona/jsona --name=jsona
Name | Description | Required |
---|---|---|
GITHUB_TOKEN |
For GitHub API | Yes |
Name | Description | Required |
---|---|---|
repository |
GitHub repository | Yes |
name |
Binary name | Yes |
version |
Binary version | No |
Replace
jsona
with your repository
binary2sh --repository=jsona/jsona --name=jsona --version=v0.6.0
Apache-2.0