refactor(cli): remove 'run' command; fold into 'boot'#5
Merged
Conversation
…- 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
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why\n-
runis not a simctl subcommand and duplicated functionality.\n- Consolidate behavior underbootto keep verbs aligned with simctl.\n\nWhat\n- RemoveRunCommandand its registration\n- Updatebootto 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; usexsim bootexplicitly\n- Default no-arg behavior remains implemented viaDefaultRunner(if used)\n\nManual checks\n- Build:swift build\n- Try:swift run xsim boot,swift run xsim boot "iPhone 15"#4 の対応漏れ
ref: #3