Skip to content

feat: add Mv subcommand #284

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
Closed

Conversation

ezyang
Copy link
Owner

@ezyang ezyang commented May 3, 2025

Stack from ghstack (oldest at bottom):

Add a Mv subcommand, similar to Rm, at codemcp/tools/mv.py. Check codemcp/tools/rm.py for the pattern. Add an e2e test too.

20cbc73  (Base revision)
bde8a52  Add new mv.py file with mv_file function for moving files with git mv
13eddd1  Update __init__.py to import and expose mv_file function
8297241  Add MV subcommand to system prompt in init_project.py
2f8716a  Update Summary section to include MV subtool and its parameters
26aebd5  Add end-to-end test for MV subtool
86795bf  Auto-commit lint changes
a60fa1a  Add import for mv_file function
163d54e  Add MV subtool to expected parameters
c1b50bf  Add implementation for MV subtool in codemcp function
5ddfb49  Add source_path and target_path parameters to codemcp function signature
88d5f10  Add source_path and target_path to provided_params
HEAD     Auto-commit lint changes

codemcp-id: 291-feat-add-mv-subcommand

[ghstack-poisoned]
ezyang added a commit that referenced this pull request May 3, 2025
Add a Mv subcommand, similar to Rm, at codemcp/tools/mv.py. Check codemcp/tools/rm.py for the pattern. Add an e2e test too.

```git-revs
20cbc73  (Base revision)
bde8a52  Add new mv.py file with mv_file function for moving files with git mv
13eddd1  Update __init__.py to import and expose mv_file function
8297241  Add MV subcommand to system prompt in init_project.py
2f8716a  Update Summary section to include MV subtool and its parameters
26aebd5  Add end-to-end test for MV subtool
86795bf  Auto-commit lint changes
a60fa1a  Add import for mv_file function
163d54e  Add MV subtool to expected parameters
c1b50bf  Add implementation for MV subtool in codemcp function
5ddfb49  Add source_path and target_path parameters to codemcp function signature
88d5f10  Add source_path and target_path to provided_params
HEAD     Auto-commit lint changes
```

codemcp-id: 291-feat-add-mv-subcommand
ghstack-source-id: fd3e246
Pull-Request-resolved: #284
@ezyang ezyang closed this in e9fa1a0 May 5, 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