compile
Usage
prism compile is used to parse the tasks.ref(...) calls, construct the DAG, and generate the manifest.
Usage: prism compile [OPTIONS]
Parse the tasks.ref(...) calls, construct the DAG, and generate the manifest.
Examples:
โข prism compile
โข prism compile -l debug
โญโ Options โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ --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. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏHere's what prism compile does under the hood.
Parses the tasks contained in the
modules/folder fortasks.ref(...)calls.It then takes these function calls and creates the dependency graph. You can visualize this graph using the
prism graphcommand.It stores the project metadata (e.g., the configuration, the
tasks.ref(...)calls, the targets, and the topological sort) in amanifest.
Example
Here's what the output will look like in Terminal:
Last updated