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 blog

status

lly project status --watch
  Status
  App         Phase     State  Run      Since   Note
  copperfox   deployed  live   running  3m ago
  cinderrock  building  -      -        12s
  flow: building

Shows 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.

lly project link shop
lly project link shop --app copperfox

Links 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.

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.mmd

Lists the apps with their connections. --mermaid prints a Mermaid flowchart with one subgraph per group. --dot prints Graphviz DOT.

Options

OptionDescription
--watchstatus: update until interrupted
--app <SLUG>link: link an app as well
--mermaidgraph: Mermaid output
--dotgraph: Graphviz DOT output

Exit codes

CodeCause
4Unknown project, or unknown app with link --app
5rename: name already taken
6status --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.

On this page