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 ───────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ 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:

Last updated