ohmymndy / bin-get Goto Github PK
View Code? Open in Web Editor NEWScript to easily and safely fetch binaries from Github Releases/tags
License: MIT License
Script to easily and safely fetch binaries from Github Releases/tags
License: MIT License
Support for gzipped binaries
Such as https://github.com/tree-sitter/tree-sitter/releases/tag/v0.20.7
Prompt for first parameter lost if none given (see fixed by #5 ) and does not recognise some options.
Could perhaps be more explicit/opinionated about random inputs (i.e. catching bad user/repo or versions input and giving more user-friendly feedback)
Also there is no usage() ( yet ;-) see #2 )
e.g. (this is on Ubuntu Mate 21.10 btw )
~/src/bin-get$ ./bin-get -h
./bin-get: line 20: usage: command not found
~/src/bin-get$ ./bin-get --help
getopt: unrecognised option '--help'
~/src/bin-get$ ./bin-get
~/src/bin-get$ ./bin-get hello
Please provide the package name as the second argument
~/src/bin-get$ ./bin-get hello hello
jq: error (at <stdin>:4): Cannot iterate over null (null)
~/src/bin-get$ ./bin-get test test
Package test (test) already installed!
~/src/bin-get$ ./bin-get testx testx
jq: error (at <stdin>:4): Cannot iterate over null (null)
See wimpysworld/deb-get#276
I'll take a look at adding a PR for it once I figure out the testing.
Line 52 in 2b76db1
should be ">&2" :-)
The deb-get install RUN line fails with a syntax error (?!) ) so the container fails to run
bash: line 2457: syntax error near unexpected token `rm'
bash: line 2457: ` ${ELEVATE} rm -v "${CACHE_DIR}"/*.json;;'
#6 comments it out for now so I can run tests, Submitting fix to deb-get in the meantime
Support tar balls
Improve release file matching algorithm
Support "wrapper scripts" with the application name and assets, such as streamlink/streamlink-twitch-gui
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.