# `Gust.CLI`

Command-line entrypoint for operational Gust tasks.

This module is invoked by the release wrapper script and dispatches supported
CLI commands into the application runtime.

## Supported commands

* `trigger_run <dag_name>`: starts the application, looks up the DAG by name,
  creates a run for it, and dispatches that run through the configured
  `Gust.DAG.Run.Trigger` implementation.

  Accepts an optional `--run_params` flag with a JSON string payload:

      gust-cli trigger_run my_dag --run_params '{"name": "foo"}'

* `dag_definition <dag_name>`: returns the DAG definition payload as JSON,
  including the definition load status.

Example:

    gust-cli trigger_run my_dag

# `exec`

Executes a supported CLI command.

Currently supported commands:

* `["trigger_run", dag_name]` — optionally with `--run_params '<json>'`
* `["dag_definition", dag_name]`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
