clilyruntime-aware CLI docs
Getting started

Getting started

Install clily, choose a schema library, and ship a command without splitting your CLI across unrelated abstractions.

The fastest way to evaluate clily is to build a command with one global flag, one subcommand, and one schema library.

From there, you can add config loading, prompts, or shell completions without changing the overall shape of the code.

Start here

What you should understand early

  1. clily does not invent its own validation language. You bring a Standard Schema-compatible library.
  2. The resolved handler input is merged from multiple layers, not only CLI flags.
  3. The same command tree can generate help text and shell completions.
  4. Runtime injection is a first-class feature, not a test-only hack.

On this page