Skip to content

refactor(cli): remove 'run' command; fold into 'boot'#5

Merged
mui-z merged 7 commits intomainfrom
chore/remove-run-command
Sep 2, 2025
Merged

refactor(cli): remove 'run' command; fold into 'boot'#5
mui-z merged 7 commits intomainfrom
chore/remove-run-command

Conversation

@mui-z
Copy link
Copy Markdown
Owner

@mui-z mui-z commented Sep 2, 2025

Why\n- run is not a simctl subcommand and duplicated functionality.\n- Consolidate behavior under boot to keep verbs aligned with simctl.\n\nWhat\n- Remove RunCommand and its registration\n- Update boot to support no-arg behavior: when no simulators are running, boot the most recently used device\n- Update README examples accordingly\n\nNotes\n- No aliases or fallbacks added; use xsim boot explicitly\n- Default no-arg behavior remains implemented via DefaultRunner (if used)\n\nManual checks\n- Build: swift build\n- Try: swift run xsim boot, swift run xsim boot "iPhone 15"

#4 の対応漏れ

ref: #3

…- Delete RunCommand (not a simctl verb)\n- Allow 'xsim boot' with no args to boot last used when none running\n- Remove registration and update README
@mui-z mui-z self-assigned this Sep 2, 2025
…tion\n\n- Align type/file name with command name\n- Keep 'boot' no-arg behavior to start last-used when none running
…ootCommand for no-arg invocation\n- README: document that equals
…alParam)\n\n- Prevents usage error when invoking via DefaultRunner or 'xsim' with no args
@mui-z mui-z merged commit 786c5ad into main Sep 2, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant