Hive Hive
Sign in

fix(cli): use AsyncParsableCommand for plugin run and test commands

GitHub issue · Closed

Metadata
Source
tuist/tuist #10603
Updated
Jun 24, 2026
Domains
CLI
Details

Summary

  • Fix tuist plugin run and tuist plugin test which silently print help instead of executing the plugin
  • Change PluginRunCommand and PluginTestCommand from ParsableCommand to AsyncParsableCommand so their async func run() is actually dispatched

Resolves https://github.com/tuist/tuist/issues/10602

Test plan

  • Build the CLI: tuist generate tuist --no-open && xcodebuild build -workspace Tuist.xcworkspace -scheme tuist CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY=""
  • Create a minimal plugin package and run tuist plugin run --path <path> <target> — should execute the plugin instead of printing help
  • Run tuist plugin test --path <path> on a plugin with tests — should run tests instead of printing help
  • Verify tuist plugin build and tuist plugin archive are unaffected (they already had correct conformance)

🤖 Generated with Claude Code

Flights

Investigate, reproduce, or fix this item in an isolated repository. Each Flight preserves its outcome and agent session.

New Flights are paused Configure model inference, GitHub, and a sandbox provider to start another Flight. Existing results remain available below.
No Flights yet

Start a Flight and preserve its objective, outcome, and session here.

Comments
P
pepicrft May 5, 2026

cc @fortmarek