Rad¶
A scripting language designed to make writing CLI tools delightful. Familiar, Python-like syntax with CLI superpowers built-in.
greet.rad
#!/usr/bin/env rad
args:
name str # Name to greet.
times int = 1 # How many times.
for i in range(times):
print("Hello, {name}!")
Why Rad?¶
No boilerplate. Declarative argument parsing, built-in JSON processing, and shell integration—all in a clean, readable syntax.
Familiar. If you know Python, you already know most of Rad. The learning curve is gentle; the productivity gains are immediate.
Delightful. Rad is designed to be fun to use. Small touches like helpful error messages and intuitive syntax make scripting enjoyable again.
Quick Example¶
> ./greet --help
Usage:
greet <name> [times]
Script args:
--name str Name to greet.
--times int How many times. (default 1)
> ./greet Alice --times 2
Hello, Alice!
Hello, Alice!
Explore¶
- Getting Started – Installation & your first script
- Args – Declarative argument parsing
- Rad Blocks – JSON processing & API queries
- Shell Commands – Running shell commands
- Examples – Real-world scripts
Early Development
Rad is in early development but useful today. Core features work well, though expect breaking changes between versions. Feedback welcome!