Documentation
¶
Overview ¶
Package ui wires `w17ctl ui` — a thin kong adapter over the launcher implementation in internal/ui. The UI is the local web app: a human-facing view and controller over the same project registry, presets, and local Docker stacks the `project` / `stack` CLI drives.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct {
Start StartCmd `` /* 192-byte string literal not displayed */
Stop StopCmd `cmd:"" help:"Stop the background UI server."`
}
Cmd is `w17ctl ui`. `start` runs the UI in the background (idempotent — re-running just opens the browser); `stop` tears it down. A bare `w17ctl ui` defaults to `start`.
type StartCmd ¶
type StartCmd struct {
Port int `name:"port" default:"7917" help:"Loopback port to serve the UI on (default 7917)."`
NoOpen bool `name:"no-open" help:"Do not open a browser; just ensure the server is running."`
// Foreground is the internal flag the launcher passes to the spawned
// child: it runs the blocking server in this process instead of
// daemonising again. Not for direct use.
Foreground bool `name:"foreground" hidden:"" help:"Run the server in the foreground (internal: used by the background launcher)."`
}
StartCmd starts (or re-opens) the background UI.
Click to show internal directories.
Click to hide internal directories.