molecule-cli/internal/cmd
Molecule AI SDK-Dev 230934561c feat: implement full CLI command tree
Implement the core CLI for molecule-cli:

- cmd/molecule/main.go: entry point calling cmd.Execute()
- internal/cmd/root.go: cobra root with global flags (--api-url,
  --verbose, --output, --config), registers all 4 command groups
- internal/cmd/workspace.go: 7 subcommands (list, create, inspect,
  delete, restart, audit, delegate)
- internal/cmd/agent.go: 4 subcommands (list, inspect, send, peers)
- internal/cmd/platform.go: 2 subcommands (audit, health)
- internal/cmd/config.go: 5 subcommands (list, get, set, init, view)
- internal/cmd/http.go: runHTTP helper shared by agent send and
  workspace delegate
- internal/client/platform.go: control plane HTTP client with
  workspace/agent/health/audit operations

All 18 subcommands wire to platform API via MOLECULE_API_URL.
Binary builds to ./bin/mol. Resolves KI-001, KI-002 (partial),
KI-003.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 18:44:24 +00:00
..
agent.go feat: implement full CLI command tree 2026-04-21 01:18:24 +00:00
completion.go feat(cli): add molecule completion [bash|zsh|fish|powershell] subcommand 2026-04-22 18:06:02 +00:00
config.go feat: implement full CLI command tree 2026-04-23 18:44:24 +00:00
http.go feat: implement full CLI command tree 2026-04-21 01:18:24 +00:00
init.go fix(cli): complete "mol" → "molecule" rename across all cmd packages 2026-04-22 06:36:42 +00:00
platform.go feat: implement full CLI command tree 2026-04-21 01:18:24 +00:00
root.go feat: implement full CLI command tree 2026-04-23 18:44:24 +00:00
workspace.go feat: implement full CLI command tree 2026-04-23 18:44:24 +00:00