20
votes
Bashly: A command-line application (written in Ruby) that declaratively generates feature-rich Bash scripts
Link information
This data is scraped automatically and may be incorrect.
- Title
- Welcome to Bashly | Bashly - Bash Command Line Framework
- Word count
- 251 words
The Bash-posting will continue until morale improves
I am stricken with grief :)
This is great, but honestly just a symptom of how bad bash is.
Do you mean bash is bad for programming? I actually find it to be one of the most reliable and powerful tools I use daily. It might not be perfect for every use case, but it’s actually hard to think on something more effective for what it’s designed to do
I was thinking specifically about programming. Shells are a little hard to talk about because stringing commands together can be extremely useful and fast and productive. But the overall architecture of the shell like it's syntax, type system, error handling ect I consider more the core of the shell. And for Bash I would say it's bad
For the purpose of *scripting on a *nix system it's really good. Like if you know command line you know bash. It would, however, be psychotic to recommend it for any other purpose.
I'll have to give this a shot since it looks like one of the most frictionless solutions I've seen for Bash scripting. I'm most impressed by the support for Bash completions - if that works as well as I'm imagining, this tool might become a daily driver for me.
I really need to try this, managing boilerplate code for parsing args etc has always been the most annoying thing in bash scripts for me (which is why most of my scripts end up with half-assed parsing and cryptic errors like
echo "give arguments"
)I really wish it was written in bash so it could be self-hosting.
I’m not sure I understand. You can’t self host a Ruby program? Or a docker image?
Self hosting is a term usually used with compilers. It means the compiler is written in the language it compiles.
OK, that makes sense. I guess I just haven’t heard it in the context of completed before. Thanks for the info.
Yeah sorry my comment was unclear, teaearlgreycold understood correctly - I wish bashly was written in bash so it could use itself to generate its own CLI.