Downcity
CommandsService

city service start

Start a single service

city service start

Start a single service under a target agent.

Usage

city service start <serviceName> [--agent <name> | --path <path>] [--host <host>] [--port <port>]

Example

city service start task --agent my-agent

Example Output (Based on Current Implementation)

The examples below are aligned with current command implementations in package/src (including default output mode and field structure). Placeholder values are used for environment-specific fields.

$ city service start task
{
  "success": true,
  "service": "task"
}
$ city service start task --agent missing-agent
{
  "success": false,
  "error": "Agent not found in console registry: missing-agent. Run \"city console agents\" to inspect names."
}

Table of Contents