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

Comments
P
pepicrft May 5, 2026

cc @fortmarek