diff --git a/README.md b/README.md index 952b435..cadf903 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,12 @@ Run [Black](https://github.com/ambv/black) (Python code formatter) only on Git u * Python 3.6 (f-strings!) * [Click](https://github.com/pallets/click) +* [Black](https://github.com/ambv/black) ## Usage ``` -Usage: kuro.py [OPTIONS] +Usage: kuro [OPTIONS] Options: --diff Create a diff of the changes, in a 'kuro.diff' file. If @@ -33,5 +34,3 @@ If no global or local options are set, Kuro will just run Black normally. * Validation of Black settings saved on `.kuro_config` file * Fix applying patch file (slightly broken at the moment) -* Creating a `setup.py` file to actually install this tool locally -* PIP? Maybe. diff --git a/pyproject.toml b/pyproject.toml index be84bf0..90ec49a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "kuro" -version = "0.0.1" +version = "0.0.3" description = "Run Black (Python code formatter) only on Git unstaged/untracked files" authors = ["André Madeira Cortes "] license = "GPL-3.0" @@ -14,6 +14,9 @@ click = "7.*" [tool.poetry.dev-dependencies] +[tool.poetry.scripts] +kuro = "kuro:main" + [build-system] requires = ["poetry>=0.12"] build-backend = "poetry.masonry.api"