CLI¶
repolish is invoked as a single top-level command with subcommands for each
operation. The global -v flag is available to all subcommands.
Global options¶
| Flag | Description |
|---|---|
-v |
Increase verbosity. Pass once for structured log output, twice (-vv) for detailed debug messages. |
--version |
Print the installed version and exit. |
--help |
Show help and exit. |
Commands¶
The table below is generated from the CLI entry functions in the code, so a command registered on the app is missing from the docs only until it is added to the renderer's registry, which a test enforces.
| Command | Description |
|---|---|
apply |
Apply templates to project. |
link |
Link provider resources to the project. |
lint |
Lint a provider's templates against its context model. |
list-insertions |
List insertion functions available from configured providers. |
preview |
Preview/test templates. |
scaffold |
Scaffold a new repolish provider. |
Each command has its own page with the full argument table (generated from the command's parameter model), the pipeline it runs, and the special cases worth knowing, such as running it in CI.