← All projects
Project record7 mentions
Originally shared on Hacker News

Rad

A programming language tailored for writing CLI scripts and tools, mainly as an alternative to Bash, with a declarative approach to things like script arguments. Recent work has focused on static type analysis, which helps both people and AI agents write good Rad.

Last shared For People writing CLI scripts and command-line tools
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Rad

    A programming language tailored for writing CLI scripts and tools, mainly as an alternative to Bash, with a declarative approach to things like script arguments. Recent work has focused on static type analysis, which helps both people and AI agents write good Rad.

    Audience: People writing CLI scripts and command-line tools

    Posted by @amterp · Original source ↗

    Source text · @amterp · · Source ↗

    One is Rad [0], a programming language tailored for writing CLI scripts and tools (mainly an alternative to Bash), taking a declarative approach to things like script arguments. Latest push has been largely on static type analysis, since making that really good is the sort of thing that helps both people and AI agents write good Rad.
  2. Rad

    A programming language tailor-made for writing CLI scripts. It specializes in the CLI domain rather than enterprise software, with essentials built in such as a declarative approach to arguments and generated help output.

    Problem: With Bash, you have to roll your own argument parsing and help strings each time you write a CLI script.

    Posted by @amterp · Original source ↗

    Source text · @amterp · · Source ↗

    The other project I am continuing to work on is Rad [1], a programming language tailor made for writing CLI scripts.
  3. Rad

    Rad is a programming language built specifically for CLI scripts, designed so users don't need to write Bash, and offering CLI-tailored features that make it a better choice than Python for such scripts. Recent development has focused on stability and bug fixes, with docs and a getting-started guide available.

    Problem: Writing CLI scripts in Bash is undesirable, and Python lacks CLI-tailored features.

    Posted by @amterp · Original source ↗

    Source text · @amterp · · Source ↗

    I am working on Rad [0], a programming language built specifically for CLI scripts, so you don't need to write Bash, and it offers CLI-tailored features which make it a better choice than Python.
  4. Rad

    Rad is a Bash-replacement language for writing CLI scripts, featuring declarative argument parsing with constraints (required/optional fields, ranges, enums, dependencies), automatic argument parsing and validation, built-in JSON processing, HTTP requests, and interactive prompts in a readable Python-like syntax.

    Problem: Writing maintainable CLI scripts in Bash is difficult, with manual argument parsing and validation.

    Posted by @amterp · Original source ↗

    Source text · @amterp · · Source ↗

    Working hard on Rad, which is aiming to be a Bash-replacement for writing CLI scripts. The goal is to allow users to write maintainable scripts with declarative argument parsing, built-in JSON processing, HTTP requests, and interactive prompts - all in a familiar, readable syntax (Python-like!)
  5. Rad

    Rad is a programming language designed specifically for CLI scripts, built as a much better alternative to writing Bash scripts. It is in active development (over a year of work) and used daily by its builder, with big features like commands still planned.

    Problem: Writing Bash scripts is painful; Rad aims to do CLI scripting much better.

    Posted by @amterp · Original source ↗

    Source text · @amterp · · Source ↗

    Work continues for me on Rad[0]. It's a programming language designed specifically for CLI scripts. I was sick of writing Bash scripts and thought we could do much, much better, so that's the goal with this project.
  6. rad

    A programming language designed for writing good CLI scripts, aiming to replace Bash with a much more Python-like syntax, unique language features, and built-in support for scripting tasks.

    Problem: Bash is not well-suited for writing good CLI scripts.

    Posted by @amterp · Original source ↗

    Source text · @amterp · · Source ↗

    It's a programming language designed for writing good CLI scripts, so it's aiming to replace Bash but is much more Python-like, and offers unique syntax and a bunch of in-built support for scripting.
  7. Rad

    A programming language designed to replace Bash for CLI scripting, where Python or Rust would be overkill. It includes built-in constructs suited to CLI scripts such as argument parsing, table formatting, HTTP querying, and Bash command invocation, with a getting-started guide in its docs.

    Problem: Bash lacks constructs well-suited to CLI scripts, while heavier languages like Python or Rust are overkill for such scripts.

    Audience: CLI script authors, particularly for tasks where Python or Rust would be overkill

    Posted by @amterp · Original source ↗

    Source text · @amterp · · Source ↗

    I'm working on a programming language aiming to replace Bash. It specifically targets CLI scripts where Python or Rust are overkill, but it contains a bunch of constructs that make it particularly well suited for CLI scripts, including arg parsing, table formatting, HTTP querying, Bash command invocation, etc.