hofmod-cli
bashly
Our great sponsors
hofmod-cli | bashly | |
---|---|---|
2 | 13 | |
25 | 1,909 | |
- | - | |
5.5 | 9.4 | |
7 months ago | about 19 hours ago | |
Go | Ruby | |
BSD 3-clause "New" or "Revised" 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.
hofmod-cli
-
Bashly – Create beautiful bash scripts from simple YAML configuration
Shameless plug, I wrote https://github.com/hofstadter-io/hof as a generalized tool for what this does, i.e. generate boilerplate from a DSL.
https://github.com/hofstadter-io/hofmod-cli is the same idea for generating Go CLI boilerplate.
hof uses CUE instead of Yaml, can output to any and multiple languages, and uses diff3 so you can work in both the output and the design at the same time.
-
Writing Small CLI Programs in Common Lisp
I try to avoid pip and dependencies for these python scripts. This goal has it's limits.
Click is nice if you want a command with multiple sub commands. I use Go + Cobra at that point via https://github.com/hofstadter-io/hofmod-cli
bashly
- Argbash – Bash Argument Parsing Code Generator
- GitHub - DannyBen/bashly: Bash command line framework and CLI generator
-
Bashly – Create beautiful bash scripts from simple YAML configuration
No need to repeat step 3. Code for each command (in case you want a bash script with subcommands), is placed in `src/_command.sh`. That's it.
I think this is a good minimal example:
https://github.com/DannyBen/bashly/tree/master/examples/mini...
The animated console demo in the README is actually an animated SVG file: https://github.com/DannyBen/bashly/blob/master/demo/cast.svg
Anyone know what tool is used to create that?
The front page of its website does a better job explaining: https://bashly.dannyb.co/
What are some alternatives?
ShellCheck - ShellCheck, a static analysis tool for shell scripts
HomeBrew - 🍺 The missing package manager for macOS (or Linux)
fastlane - 🚀 The easiest way to automate building and releasing your iOS and Android apps
ngs - Next Generation Shell (NGS)
hof - Framework that joins data models, schemas, code generation, and a task engine. Language and technology agnostic.
run - Task runner that helps you easily manage and invoke small scripts and wrappers
alf - Bash Alias Generator and Manager
dip - The dip is a CLI dev–tool that provides native-like interaction with a Dockerized application.
sub - a delicious way to organize programs
janet-sh - Shorthand shell like functions for janet.
bash-boilerplate - A collection of Bash scripts for creating safe and useful command line programs.
harmony - Easily test downstream projects before releasing new code