bashly
sub
Our great sponsors
bashly | sub | |
---|---|---|
14 | 4 | |
1,925 | 1,733 | |
- | 0.0% | |
9.4 | 0.0 | |
5 days ago | over 2 years ago | |
Ruby | Shell | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bashly
-
Ask HN: Any tool for managing large and variable command lines?
It's heavily inspired by ArgBash (https://argbash.dev/) and uses parts of bashly (https://github.com/DannyBen/bashly/) which are very similar tools :)
- Bashly: Command line application to generate feature-rich bash CLI tools
- Modules, frameworks, libararies
-
What about reviewing Bashly tool?
Here it's site.
- Argbash – Bash Argument Parsing Code Generator
-
How do you manage your local environment?
To remove most of the manual things you have to do to make an environment operational, we also use a bash layer on top of Docker. Takes care of initializing of your database, API or any other services for you and puts multiple docker commands under much simpler ones. So even a junior with minimal experience can run it. I use bashly to generate the bash scripts, recommend that useful generator.
- Bashly is a command line application (written in Ruby) that lets you generate feature-rich bash command line tools.
- GitHub - DannyBen/bashly: Bash command line framework and CLI generator
- Bashly – Create beautiful bash scripts from simple YAML configuration
sub
-
The Unreasonable Effectiveness of Makefiles
Scripts in bin have no documentation, no easy way to enumerate them, etc. There is definitely a time and a place for bin scripts, especially as things grow in complexity. However the beauty of just is that there's one file (the justfile) that defines all of your project's actions. You don't have to go spelunking into bin to figure out how to tweak a compiler flag, etc. And since just will run anything there's no reason why your complex bin scripts can't just be called from a simple one liner task in a justfile.
Could your write a bash script that does stuff like enumerate all the bin scripts, pull out documentation comments, etc.? Absolutely, and people have followed that pattern for a while (see https://github.com/qrush/sub) but it's a bunch of boilerplate to copy between projects. Just pulls out that logic into a simpler config file.
- Bash-Oneliner: A collection of handy Bash One-Liners and terminal tricks
- Bashly – Create beautiful bash scripts from simple YAML configuration
-
sd: my script directory
Many moons ago Basecamp published sub (github) which runs on a similar idea with different tradeoffs being chosen.
What are some alternatives?
ShellCheck - ShellCheck, a static analysis tool for shell scripts
shfmt - Dockernized shfmt. This formats shell script.
HomeBrew - 🍺 The missing package manager for macOS (or Linux)
tlog - Terminal I/O logger
fastlane - 🚀 The easiest way to automate building and releasing your iOS and Android apps
hofmod-cli - Hofstadter generator for Golang CLIs
ngs - Next Generation Shell (NGS)
tclmake - Partial make clone in pure Tcl
vscode-bash-debug - Bash shell debugger extension for VSCode (based on bashdb)
run - Task runner that helps you easily manage and invoke small scripts and wrappers