Prism
v0.3.0
v0.3.0
  • 👋Welcome to Prism!
  • Getting Started
    • Installation
    • Creating your first project
    • Why Prism?
  • Fundamentals
    • PrismProject API
      • PrismProject().run
      • PrismProject().graph
    • Tasks
    • Targets
      • Multiple targets
    • CurrentRun API
      • CurrentRun.ref()
      • CurrentRun.conn()
      • CurrentRun.ctx()
  • Connectors
    • Overview
    • BigQueryConnector
    • PostgresConnector
    • RedshiftConnector
    • SnowflakeConnector
    • TrinoConnector
    • PrestoConnector
  • CLI
    • Command Line Interface
    • graph
    • init
    • run
  • Advanced features
    • Concurrency
    • Logging
    • Callbacks
    • Retries
    • Skipping tasks
  • API Reference
    • prism.task.PrismTask
    • @task(...)
    • @target(...)
    • @target_iterator(...)
    • prism.target.PrismTarget
  • Use Cases
    • Analytics on top of dbt
    • Machine Learning
  • Wiki
    • DAGs
Powered by GitBook
On this page
  1. CLI

Command Line Interface

PreviousPrestoConnectorNextgraph

Last updated 1 year ago

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 ───────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ graph  Launch the Prism Visualizer UI to view your project as a graph. This is the CLI equivalent of calling     │
│        PrismProject.graph(...) in your Python script.                                                            │
│ init   Initialize a Prism project.                                                                               │
│ run    Run your Prism project. This is the CLI equivalent of calling PrismProject.run(...) in your Python        │
│        script.                                                                                                   │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Here are the list of commands available through the CLI:

graph
init
run