Skip to content

Conversation

bhouston
Copy link
Member

@bhouston bhouston commented Mar 7, 2025

Add ability to clear all configuration settings

Description

This PR implements the functionality requested in issue #133, allowing users to clear all configuration settings at once.

Changes

  • Added a new clearAllConfig() function in config.ts that removes the config file
  • Extended the config clear command to accept a new --all flag
  • Added a confirmation prompt before clearing all settings
  • Updated help text and examples to document the new option

Testing

  • Manually tested the new mycoder config clear --all command
  • Verified that the confirmation prompt works correctly
  • Confirmed that all settings are reset to defaults after clearing

Related Issues

Fixes #133

@bhouston bhouston merged commit c23746d into main Mar 7, 2025
1 check passed
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/clear-all-config 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 ability to clear all configuration settings

1 participant