Skip to content

Commit fe64356

Browse files
yarin-magclaude
andcommitted
feat(cli): add new commands and refactor into cli/ folder
New commands: - `marionette --version` / `-v` / `version` — print installed version - `marionette status` — check if the server is running - `marionette logs` — tail the server log file (cross-platform) - `marionette update` — check for newer GitHub releases - `marionette uninstall` — full cleanup with --yes/-y flag to skip prompt - `marionette --help` / `-h` — improved help with all commands listed Refactor: - Split monolithic cli.ts (750+ lines) into cli/ folder with one file per command - Shared utilities (distDir, execAsync, isPortInUse, getVersion, shellRcPath) extracted to cli/utils.ts - Unified 6 duplicate platform setup functions (LaunchAgent/systemd/WindowsTask) into 3 parameterized ones - Parallelised independent operations with Promise.all (port kills, service unloads, MCP+hooks cleanup, auto-start pairs) Bump version to 1.1.0 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent e5638f8 commit fe64356

16 files changed

Lines changed: 707 additions & 561 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,4 @@ RELEASING.md
7272
LAUNCH_STRATEGY.md
7373
messup-fixes.md
7474
.claude/
75+
v2_design/

apps/server/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"name": "marionette-server",
3+
"version": "1.1.0",
34
"private": true,
45
"type": "module",
56
"bin": {
6-
"marionette": "./dist/cli.js"
7+
"marionette": "./dist/cli/index.js"
78
},
89
"scripts": {
910
"dev": "tsx watch src/index.ts",

0 commit comments

Comments
 (0)