Refactor: Update cabal config for module rename (NewCommandLineParser → CommandLineParser)#93
Merged
Merged
Conversation
…onfig Update the gwcli.cabal file to reflect the module rename from NewCommandLineParser to CommandLineParser, removing the old module from the exposed-modules list. Also add cabal.project.freeze to lock dependency versions for reproducible builds with GHC 9.12.1 and Cabal 3.14. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This was referenced Oct 11, 2025
* Refactor: Clean up code after optparse-applicative migration This commit performs code cleanup following the migration to optparse-applicative in PR #90: **Module Changes:** - Rename NewCommandLineParser.hs to CommandLineParser.hs - Remove old GetOpt-based CommandLineParser module **Main.hs Cleanup:** - Update import from NewCommandLineParser to CommandLineParser - Remove obsolete comments ("Old...", "Refactored...", "TODO...") - Remove commented-out imports (System.Console.GetOpt, System.Environment) - Improve code formatting and consistency - Remove unnecessary blank lines - Align guard clauses in remoteUrlToRemote All changes maintain backward compatibility while improving code readability and maintainability. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * Bump version to 0.9.8.0 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
Add changelog entries documenting the refactoring work: - Module renaming (NewCommandLineParser to CommandLineParser) - Removal of old GetOpt-based parser - Code cleanup and formatting improvements - Maintainability improvements after optparse-applicative migration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
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
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.
Summary
This PR updates the build configuration to reflect the module rename from
NewCommandLineParsertoCommandLineParser, following the migration to optparse-applicative in PR #90.Changes
gwcli.cabal: RemovedNewCommandLineParserfrom exposed-modules list, keeping onlyCommandLineParsercabal.project.freeze: Lock file for reproducible builds with GHC 9.12.1 and Cabal 3.142025-09-28T05:10:57ZTesting
cabal buildRelated
Part 1 of cleanup for #90 (build configuration)
Part 2 will handle code cleanup (stacked PR)
🤖 Generated with Claude Code