project
Show a project, follow builds, link directories, rename the project or print its graph.
lly project [NAME|ID]
lly project status [--watch]
lly project link [NAME|ID] [--app <SLUG>]
lly project unlink
lly project rename <NAME>
lly project graph [--mermaid | --dot]Without a subcommand, shows the selected project: the named project, the linked project or the only project. The output contains state, last build state and tables of apps, sources and databases.
lly project
lly project blogstatus
lly project status --watch Status
App Phase State Run Since Note
copperfox deployed live running 3m ago
cinderrock building - - 12s
flow: buildingShows the build phase and runtime state of each app. Note shows the last error or the running command. --watch updates the table until Ctrl-C, for example to follow a build started with lly deploy --detach. It stops after 45 minutes.
link
lly project link shop
lly project link shop --app copperfoxLinks the current directory to a project, and with --app to an app. Commands in this directory and its subdirectories up to the git root use this project and app. The link is stored in the CLI configuration, not in the repository.
unlink
Removes the link of the current directory.
rename
lly project rename storefront
# ✓ Renamed to storefront (prj_1)Renames the project. The name is converted to lowercase. ID and app addresses do not change.
graph
lly project graph
lly project graph --mermaid > graph.mmdLists the apps with their connections. --mermaid prints a Mermaid flowchart with one subgraph per group. --dot prints Graphviz DOT.
Options
| Option | Description |
|---|---|
--watch | status: update until interrupted |
--app <SLUG> | link: link an app as well |
--mermaid | graph: Mermaid output |
--dot | graph: Graphviz DOT output |
Exit codes
| Code | Cause |
|---|---|
4 | Unknown project, or unknown app with link --app |
5 | rename: name already taken |
6 | status --watch: stopped after 45 minutes |
JSON output
lly project: {"project_id", "name", "state", "created_at", "updated_at", "apps", "sources", "databases", "groups", "flow"}. status and graph print the raw status and graph. --json takes precedence over --mermaid and --dot. status --watch prints no JSON.