fix: rename --runtemplate_id to --id on credential commands for consistency#34
Conversation
…stency All run-template:* commands use --id for the RunTemplate ID; the three credential commands introduced in 2.5.4 used --runtemplate_id instead. Rename the option, update tests, docs, and bump version to 2.5.5. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthroughThis PR renames the RunTemplate identifier option from ChangesRunTemplate credential commands option rename
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
run-template:assign-credential,run-template:unassign-credential, andrun-template:list-credentialswere using--runtemplate_idas the RunTemplate ID optionrun-template:*commands use--id— this was an inconsistency introduced in 2.5.4--idacross all three commands, updated tests and documentation, bumped version to 2.5.5Test plan
phpunit tests/src/Command/RunTemplateTest.phppasses (16/16 assertions)multiflexi-cli run-template:list-credentials --id 186 --format jsonworksmultiflexi-cli run-template:assign-credential --id 186 --credential_id 12worksmultiflexi-cli run-template:unassign-credential --id 186 --credential_id 12works🤖 Generated with Claude Code
Summary by CodeRabbit
Bug Fixes
run-template:assign-credential,run-template:unassign-credential, andrun-template:list-credentialscommands now use--idinstead of--runtemplate_idfor specifying the RunTemplate ID parameter.Documentation