Skip to content

Prepare execution script for linking binaries from other tools/languages

License

Notifications You must be signed in to change notification settings

dalisoft/binary2sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

binary2sh

This is posix shell version of binary2npm

Prepare execution script for linking binaries from other tools/languages

Currently supports only GitHub API

Installation

npm install dalisoft/binary2sh
# or
yarn install dalisoft/binary2sh
# or
bun add dalisoft/binary2sh

No-installation method

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

Environment variables

Name Description Required
GITHUB_TOKEN For GitHub API Yes

Options

Name Description Required
repository GitHub repository Yes
name Binary name Yes
version Binary version No

Usage

Replace jsona with your repository

binary2sh --repository=jsona/jsona --name=jsona --version=v0.6.0

License

Apache-2.0

About

Prepare execution script for linking binaries from other tools/languages

Topics

Resources

License

Stars

Watchers

Forks

Languages