powscript
transpiler written in bash: painless shellscript, indentbased, coffee for the shell with hipster-sparkles v1 BETA LANDED ๐๐๐๐ thanks fcard!
How to install powscript
brew install bash powscript use case
Transpile indentation-based shell scripts into portable bash/sh scripts for easier, more modern scripting.
When to use powscript
- Writing complex shell scripts that benefit from a cleaner, CoffeeScript-like syntax
- Avoiding common bash pitfalls like missing semicolons or complex quoting
- Rapidly prototyping shell scripts with modules and built-in error handling
When not to use powscript
- Simple one-liner commands or very short scripts where bash syntax is sufficient
- Environments requiring strict POSIX sh compatibility (output to sh is experimental)
- Teams unfamiliar with indentation-based syntax or who prefer standard bash
powscript features
- ยท Indentation-based syntax similar to CoffeeScript
- ยท Transpiles to bash or sh (experimental)
- ยท Built-in functions like require_cmd and require_env
- ยท Module support and error handling with custom messages
Want your agent to find this automatically?
Add the MCP server to your agent config and it will discover tools like powscript on its own.
Set up MCP โSimilar tools to powscript
dasel
Select, put and delete data from JSON, TOML, YAML, XML, INI, HCL and CSV files with a single tool. Also available as a go mod.
imgp
:camera_flash: Fast batch image resizer and rotator
jc
CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.
korkut
Quick and simple image processing at the command line. :hammer: