dflow apps:list
List applications in the current environment.
This lists the applications in the current environment. --watch prints the list again when something in the workspace changes. An empty list still prints the heading.
dflow apps:listFlags
--watch prints the list again when the workspace stream reports a change. It needs the current workspace. If that stream is not available, the command uses the workspace watch route. --output, --api, and --context still apply.
What you see
The terminal prints heading NAME STATUS REPLICAS IMAGE ID, sorted by name. A missing deployment prints - for replicas and image. An empty list prints the heading only. On a terminal, the heading is bold, active is green, deleting is yellow, failed is red, and the id is dim. A pipe, or NO_COLOR, prints plain text. An empty environment uses the only environment in the project. Several environments exit 1 and name dflow environments:use. --environment overrides this command and is not saved. Exit 0: including an empty list.
When it fails
Exit 1: missing context. Exit 2: auth. Exit 3: parent not found. Exit 10: unreachable.
How is this guide?
Last updated on