-
Notifications
You must be signed in to change notification settings - Fork 107
feat: add run command to CLI #270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ezyang
wants to merge
3
commits into
gh/ezyang/202/base
Choose a base branch
from
gh/ezyang/202/head
base: gh/ezyang/202/base
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
ezyang
added a commit
that referenced
this pull request
Apr 22, 2025
Add a `codemcp run COMMAND` to the cli which runs the command as defined in codemcp.toml the same way the RunCommand tool does it. ```git-revs ef0b2d8 (Base revision) b00e0fa Add run command to CLI 51594c3 Add import for get_command_from_config 9ad7dd6 Add end-to-end test for run command CLI 4253b3d Auto-commit format changes 875d7e5 Auto-commit lint changes HEAD Update the test assertions to match the actual error message ``` codemcp-id: 277-feat-add-run-command-to-cli ghstack-source-id: 8a59de1 Pull-Request-resolved: #270
ezyang
added a commit
that referenced
this pull request
Apr 22, 2025
Add a `codemcp run COMMAND` to the cli which runs the command as defined in codemcp.toml the same way the RunCommand tool does it. ```git-revs ef0b2d8 (Base revision) b00e0fa Add run command to CLI 51594c3 Add import for get_command_from_config 9ad7dd6 Add end-to-end test for run command CLI 4253b3d Auto-commit format changes 875d7e5 Auto-commit lint changes 402a071 Update the test assertions to match the actual error message 29ae4e6 Update CLI run command to stream output to terminal in real-time 62d2cd0 Update test to use --no-stream flag for consistent testing 980e370 Update test_run_command_with_args to use --no-stream flag 2efae9a Update test_run_command_not_found to use --no-stream flag dd4060e Update test_run_command_empty_definition to use --no-stream flag 8601a6a Add test for streaming mode d2e92b9 Fix test for streaming mode to work with proper mocking 88fd447 Auto-commit format changes HEAD Auto-commit lint changes ``` codemcp-id: 277-feat-add-run-command-to-cli ghstack-source-id: 030b62c Pull-Request-resolved: #270
ezyang
added a commit
that referenced
this pull request
Apr 22, 2025
Add a `codemcp run COMMAND` to the cli which runs the command as defined in codemcp.toml the same way the RunCommand tool does it. ```git-revs ef0b2d8 (Base revision) b00e0fa Add run command to CLI 51594c3 Add import for get_command_from_config 9ad7dd6 Add end-to-end test for run command CLI 4253b3d Auto-commit format changes 875d7e5 Auto-commit lint changes 402a071 Update the test assertions to match the actual error message 29ae4e6 Update CLI run command to stream output to terminal in real-time 62d2cd0 Update test to use --no-stream flag for consistent testing 980e370 Update test_run_command_with_args to use --no-stream flag 2efae9a Update test_run_command_not_found to use --no-stream flag dd4060e Update test_run_command_empty_definition to use --no-stream flag 8601a6a Add test for streaming mode d2e92b9 Fix test for streaming mode to work with proper mocking 88fd447 Auto-commit format changes c6c1813 Auto-commit lint changes 125536b Fix test to prevent hanging in pytest by ensuring proper cleanup of mocks ff9a32b Add proper process cleanup on keyboard interrupt 6972726 Fix coroutine warning by properly mocking asyncio.run 285cf01 Complete rewrite of test file to properly mock async functions and prevent warnings a588d61 Auto-commit format changes HEAD Auto-commit lint changes ``` codemcp-id: 277-feat-add-run-command-to-cli ghstack-source-id: 391e2b3 Pull-Request-resolved: #270
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.
Stack from ghstack (oldest at bottom):
Add a
codemcp run COMMAND
to the cli which runs the command as defined in codemcp.toml the same way the RunCommand tool does it.codemcp-id: 277-feat-add-run-command-to-cli