Downcity
CommandsConsole

city console init

Initialize global console config (stored in ~/.ship/ship.db)

city console init

Initialize global console configuration.

Usage

city console init [--force]

Behavior

  • Writes/updates ~/.ship/ship.db (global config + model pool)
  • Generates ~/.ship/schema/ship.schema.json (editor schema)

Key option

  • --force: overwrite existing global config (dangerous)

Notes

  • This is a console-level command and does not depend on an agent project path.
  • For project-level configuration, use city console config.

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 console init
city version: 1.0.0
✅ Saved console global settings into ~/.ship/ship.db (encrypted)
✅ Initialized ~/.ship/ship.db model store
$ city console init
city version: 1.0.0
❌ API Key is required

Table of Contents