This repository was archived by the owner on Jun 4, 2026. It is now read-only.
Commit 638519e
refactor: drop realms --add/--init/--remove/--llm hidden aliases
PR #15 introduced positional subcommands (realms add/remove/init/llm)
and kept the old flag forms as hidden aliases for backwards compat.
Since the restructure has not yet been released (still on PR), there
are no users to migrate. Clean break is simpler.
Per backspace's PR #15 review: "do we want backward compatibility?
IMO we might as well make a clean break as this is not officially
released."
- Remove 9 `.addOption(new Option('--xxx').hideHelp())` calls
- Remove legacy flag dispatcher `realmsCommand()` and RealmsOptions
- Drop unused `Option` import from commander
`boxel realms` with no subcommand still shows the list. The `list`
alias for `workspace-list` stays (backspace: "I think we can treat
list as a shorthand").
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent dba568c commit 638519e
2 files changed
Lines changed: 5 additions & 73 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | 111 | | |
156 | 112 | | |
157 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
392 | 368 | | |
393 | 369 | | |
394 | 370 | | |
| |||
0 commit comments