CLI
rune run
Section titled “rune run”Runs a Rune project directly from source without building. Rune-managed options (such as --project) must appear before the command name. Everything from the command name onward is passed through to the user’s command as-is.
rune run [options] <command> [command-args...]Options
Section titled “Options”| Option | Type | Description |
|---|---|---|
--project <path> | string | Path to the Rune project root. Defaults to the current directory. |
Examples
Section titled “Examples”rune run hellorune run --project ./my-app hellorune run greet world --loudrune run regenerates .rune/global-options.d.ts before execution so editor type inference stays up to date.
rune sync
Section titled “rune sync”Generates Rune project type metadata and validates global options against command options.
rune sync [options]Options
Section titled “Options”| Option | Type | Description |
|---|---|---|
--project <path> | string | Path to the Rune project root. Defaults to the current directory. |
Examples
Section titled “Examples”rune syncrune sync --project ./my-apprune build
Section titled “rune build”Builds a Rune project into a distributable CLI.
rune build [options]Options
Section titled “Options”| Option | Type | Description |
|---|---|---|
--project <path> | string | Path to the Rune project root. Defaults to the current directory. |
Examples
Section titled “Examples”rune buildrune build --project ./my-apprune build regenerates .rune/global-options.d.ts and validates global options against command options before building.