Render a mocked system-status dashboard with Spectre.Console — a demo of the CLI's grid and live-panel rendering, not a real infrastructure check.
pks status [options]$ pks statusShow the mocked dashboard for all three fake environments
$ pks status --environment prodRestrict the environment grid to the PROD row only
$ pks status --ai-insightsAlso print the static AI insights panel
$ pks status --watchEnter a live-updating panel with fabricated metrics
$ pks status -e staging --ai-insightsCombine a single-environment view with the AI insights panel
pks status is a single leaf command registered directly under the root pks command — it renders a system-status dashboard in the terminal using Spectre.Console. It has no subcommands.
pks status prints a colored per-environment health grid (PROD, STAGING, DEV) followed by a fixed five-row services table (API Gateway, Database, Cache Redis, AI Service, Analytics). With --watch it switches to a live-refreshing panel of CPU, memory, network, request, error, and latency numbers.
Note. Every value this command prints is hardcoded or randomly generated inside the command class. It does not call any real API, read any config file, or check any actual pks-managed resource — no Coolify deployment, no runner, no registry. Treat it as a rendering demo, not a diagnostic tool.
12/12 running and healthy for every environment, regardless of what actually exists.System.Random every two seconds.Do not use pks status to check the real state of any pks-managed system — it will not tell you anything true. Its only legitimate uses are previewing the Spectre.Console dashboard layout (grid, table, and live-panel rendering) or sanity-checking that the CLI's rendering pipeline works.
For real status of an actual subsystem, use the subsystem-specific command instead:
None. pks status makes no network calls and reads no credential or config store — it runs identically with no prior setup.
pks status [options]
| Flag | Default | Description |
|---|---|---|
-w, --watch | false | Enter a live-updating panel instead of the static dashboard. |
-e, --environment <ENV> | all | Environment to show in the health grid: dev, staging, prod, or all. |
--ai-insights | false | Also print the static "AI-Powered Insights & Recommendations" panel. |
pks status
Prints the health grid for all three fake environments plus the fixed services table.
pks status --environment prod
Restricts the health grid to the PROD row. The services table below it is unaffected and still prints all five rows.
pks status --ai-insights
Appends the static AI insights panel to the default dashboard.
pks status --watch
Switches to a live panel that refreshes fabricated CPU, memory, network, request, error, and latency numbers every two seconds. There is no exit or iteration-count flag — stop it with Ctrl+C.
--environment PROD renders an empty grid--environment is matched with exact lowercase equality against dev, staging, prod, and all. The header line uppercases whatever string you passed for display, but the grid-row lookup does not — passing PROD (or any other casing) prints a PROD header over an empty grid, with no error message. Pass the value in lowercase.
--watch never stops on its ownWatch mode runs an unconditional loop with a two-second sleep between ticks and no built-in exit condition. There is no --count or --duration option. Stop it with Ctrl+C.
They are not supposed to. Every figure on this dashboard — health percentages, uptimes, versions, and the watch-mode metrics — is hardcoded or randomly generated in StatusCommand. Use one of the subsystem-specific status commands listed in When to use it for a real check.