From 2ca861b6dcdffaa0cdf1556c2898e7a4a95c2bd6 Mon Sep 17 00:00:00 2001 From: John Victor Sampaio Date: Sun, 17 Nov 2019 00:32:43 -0300 Subject: [PATCH] Rename PyPi package to nyaa-cli (Closes #3) --- README.md | 10 +++++----- pyproject.toml | 5 +++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b931295..f7edc21 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# nyaacli +# Nyaa-cli A CLI for downloading Anime from https://nyaa.si making use of their RSS Feed and [python-libtorrent](https://github.com/arvidn/libtorrent/blob/RC_1_2/docs/python_binding.rst) @@ -14,7 +14,7 @@ A CLI for downloading Anime from https://nyaa.si making use of their RSS Feed an ## Installing -- `python3 -m pip install nyaacli --user` +- `python3 -m pip install nyaa-cli --user` - *Note:* python-libtorrent will still need to be downloaded separately as shown below - This Program depends on python3-libtorrent, which can be installed using Apt with `sudo apt install python3-libtorrent` or can be built from source here: [python-libtorrent](https://github.com/arvidn/libtorrent/blob/RC_1_2/docs/python_binding.rst) @@ -23,12 +23,12 @@ A CLI for downloading Anime from https://nyaa.si making use of their RSS Feed an ## Usage -- **Help:** `nyaa-cli --help` +- **Help:** `nyaa --help` | `nyaa-cli --help` -- `nyaa-cli "Anime Name" -o ` +- `nyaa "Anime Name" -o ` - **Example:** ```bash # Downloading Episode 14 of 'Steins;gate' to '~/Anime/Steins;Gate' folder - nyaa-cli "Steins;Gate" 14 -o ~/Anime/Steins\;Gate + nyaa "Steins;Gate" 14 -o ~/Anime/Steins\;Gate ``` - Then select the entry you want to Download diff --git a/pyproject.toml b/pyproject.toml index 48801d1..3c06b4e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] -name = "nyaacli" -version = "0.1.1" +name = "nyaa-cli" +version = "0.1.2" description = "A CLI for downloading Anime from https://nyaa.si" authors = ["John Victor "] license = "MIT" @@ -23,6 +23,7 @@ flake8 = "^3.7" [tool.poetry.scripts] nyaa-cli = 'nyaacli.cli:main' +nyaa = 'nyaacli.cli:main' [build-system] requires = ["poetry>=0.12"]