graph
Usage
prism graph is used to render your project's DAG as a website.
Usage: prism graph [OPTIONS]
Visualize your Prism project as a DAG in an interactive UI.
Examples:
โข prism graph
โข prism graph --no-browser --port 3000
โญโ Options โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ --port -p INTEGER Port to use for HTTP request; default is 8080 โ
โ --no-browser Overwrite default behavior and do not open a tab in the default web browser with the โ
โ docs UI. โ
โ --log-level -l [info|warn|error|debug] Set the log level โ
โ --full-tb Show the full traceback when an error occurs โ
โ --help Show this message and exit. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏWhen you execute the prism graph command, Prism compiles the project, parses the task.ref(...) calls to create the DAG, and stores information about the compiled project in a JSON manifest. This manifest contains information on the DAG's topological sort and the source code for the different tasks, and it is used in the backend construction of the website.
Example
Here's what the output looks like in Terminal:
Here's what an example project looks like:

Last updated