A CLI tool that auto-fix module name of .hs files from the definition of package.yaml
.
$ cd <stack-project-root>
$ fix-module # Warning: This command will overwrite .hs files
$ fix-module --verbose # With verbose log
- Add support to
.cabal
. - Auto-fix import. (undecided)
$ brew tap YusukeHosonuma/fix-module
$ brew install fix-module
$ stack install
$ ~/.local/bin/fix-module # or add `~/.local/bin` to PATH environment
Requirements:
$ stack build
$ stack test
You have any ideas or found bugs? Any issue or PR is welcome.
Thanks!