From d6e85bad5c3cdaaf6c6d580958a17a3fbebba3b4 Mon Sep 17 00:00:00 2001 From: Benex254 Date: Fri, 16 Aug 2024 20:04:45 +0300 Subject: [PATCH] docs: update readme --- README.md | 41 +++++++++++++++++++++++++++++++++++------ 1 file changed, 35 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 35269ca..0348981 100644 --- a/README.md +++ b/README.md @@ -303,8 +303,9 @@ end #### download subcommand Download anime to watch later dub or sub with this one command. -Its optimized for scripting due to fuzzy matching. +Its optimized for scripting due to fuzzy matching; basically you don't have to manually select search results. So every step of the way has been and can be automated. +Uses a list slicing syntax similar to that of python as the value for the `-r` option. > [!NOTE] > @@ -315,29 +316,57 @@ So every step of the way has been and can be automated. ```bash # Download all available episodes -fastanime download +# multiple titles can be specified with -t option +fastanime download -t -t +# -- or -- +fastanime download -t -t -r ':' + +# download latest episode for the two anime titles +# the number can be any no of latest episodes but a minus sign +# must be present +fastanime download -t -t -r '-1' + +# latest 5 +fastanime download -t -t -r '-5' # Download specific episode range # be sure to observe the range Syntax -fastanime download -r - +fastanime download -r '::' + +fastanime download -r ':' + +fastanime download -r ':' + +fastanime download -r ':' ``` #### search subcommand Powerful command mainly aimed at binging anime. Since it doesn't require interaction with the interfaces. +Uses a list slicing syntax similar to that of python as the value of the `-r` option. **Syntax:** ```bash # basic form where you will still be prompted for the episode number -fastanime search +# multiple titles can be specified with the -t option +fastanime search -t -t # binge all episodes with this command -fastanime search -r - +fastanime search -t -r ':' + +# watch latest episode +fastanime search -t -r '-1' # binge a specific episode range with this command # be sure to observe the range Syntax -fastanime search -r - +fastanime search -t -r ':' + +fastanime search -t -r '::' + +fastanime search -t -r ':' + +fastanime search -t -r ':' ``` #### downloads subcommand