Command Line Interface

Prism offers a simple, yet powerful CLI to help users create, manage and run their projects.

Good to know: we recommend building your project in a code editor, like VSCode, Atom, or Sublime Text, and running the project from the command line.

Usage: prism [OPTIONS] COMMAND [ARGS]...                                                                                            
                                                                                                                                     
╭─ Options ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --help      Show this message and exit.                                                                                           │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ agent         Execute your Prism using third-party agents, (e.g., Docker containers, EC2 instances, etc.).                        │
│ compile       Parse the tasks.ref(...) calls, construct the DAG, and generate the manifest.                                       │
│ connect       Connect your Prism project to third-party adapters (e.g., Snowflake, BigQuery, PySpark, etc.).                      │
│ create        Create and/or update project components (e.g., tasks, triggers, agents).                                            │
│ graph         Visualize your Prism project as a DAG in an interactive UI.                                                         │
│ init          Initialize a Prism project.                                                                                         │
│ run           Execute your Prism project.                                                                                         │
│ spark-submit  Execute your Prism project as a PySpark job.                                                                        │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Here are the list of commands available through the CLI:

Last updated