Skip to content

feat: add codemcp run command to CLI #271

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

Closed
wants to merge 1 commit into from

Conversation

ezyang
Copy link
Owner

@ezyang ezyang commented Apr 22, 2025

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. However, do NOT reuse RunCommand's code (which is tuned for MCP usage), instead reimplement the subprocess call code correctly. stdin/stdout/stderr should be inherited. Do NOT do git commits. Just run the command.

292b66b  (Base revision)
0015442  Add 'run' command to CLI to execute commands from codemcp.toml without git commits
adba9fb  Add end-to-end tests for the new 'run' command
375e216  Auto-commit format changes
ed25816  Auto-commit lint changes
d536fef  Add sys import to test_run_command.py
4daf9cb  Update test_run_command_exists to use sys.executable
7e2369e  Update test_run_command_basic to use sys.executable
41ff40d  Update test_run_command_with_args to use sys.executable
83691fe  Update test_run_command_error_exit_code to use sys.executable
189dcdf  Update test_run_command_missing_command to use sys.executable
6f476f5  Return non-zero exit code when command is not found in codemcp.toml
HEAD     Return non-zero exit code for invalid command configuration

codemcp-id: 278-feat-add-codemcp-run-command-to-cli

[ghstack-poisoned]
@ezyang ezyang closed this in 3aaa4a8 Apr 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant