Skip to content

Conversation

bhouston
Copy link
Member

Description

This PR adds --githubMode and --userPrompt as boolean command line options that override any config settings or defaults. These CLI options are required for our GitHub Action integration to work properly.

Changes Made

  1. Added githubMode to the SharedOptions type and sharedOptions object in options.ts
  2. Added userPrompt as an alias for enableUserPrompt in options.ts
  3. Updated the default command handler to properly use these CLI options to override config values:
    • Now checking for argv.githubMode before falling back to config.githubMode
    • Now checking for argv.userPrompt before falling back to argv.enableUserPrompt
  4. Updated README.md to document the new CLI options

Testing

  • All existing tests pass
  • Manually verified that the CLI options work as expected

Related Issues

Closes #168

@bhouston bhouston merged commit b4f9c2e into main Mar 11, 2025
1 check passed
Copy link

🎉 This PR is included in version 0.8.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Copy link

🎉 This PR is included in version mycoder-v1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@bhouston bhouston deleted the feature/168-add-github-mode-user-prompt-cli-options branch March 12, 2025 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add --githubMode and --userPrompt as boolean CLI options

1 participant