With elixir installed, open typo_killer
folder and use the following commands
on your terminal:
mix deps.get
mix compile
Using iex
Open an iex session:
iex -S mix
Then just: TypoKiller.find_typos("path/to/folder")
Using mix
Just run mix typo_killer path/to/folder
This will create a self contained executable file which will include everything that you need to run TypoKiller. This file can be distributed to other people and they don't need to have an Erlang runtime installed - it's all in the binary file.
To create it, run:
mix escript.build
This will generate an executable file bin/typokiller
. Now run
./bin/typokiller --help
for more information.
$ make
$ sudo make install
Then you can use it like:
$ typokiller --help
Are you using Typo Killer on big repos? Send a PR adding it here! 🙂
You can generate the documentation using command mix docs
Feel free to suggest some new features or report bugs creating a new issue. Or even better, you can open a pull request! 😄