Updates readme

This commit is contained in:
sloum 2024-03-26 20:23:20 -07:00
parent 91fb6fa02a
commit 5ec4f2ca6b
1 changed files with 22 additions and 14 deletions

View File

@ -66,38 +66,46 @@ libman -author "fenimore cooper"
We can hone in on a specific source. You will notice in the example below that we only use part of the source name. Use as much of a name as is needed to get the specificity you want.
```sh
libman -author "fenimore cooper" -source "standard"
libman -author "fenimore cooper" -source "global"
#
# Output:
#
# The Last of the Mohicans by James Fenimore Cooper Standard Ebooks epub, azw3, kepub
# The Deerslayer by James Fenimore Cooper Global Grey pdf, epub, mobi, azw3, html
# The Last of the Mohicans by James Fenimore Cooper Global Grey pdf, epub, mobi
# The Pathfinder by James Fenimore Cooper Global Grey pdf, epub, mobi, azw3, html
```
...that still leaves us with three results. They are all part of a series, so we can skip doing a `-title` filter if we want the whole series.
...that still leaves us with three results. In this case all three books are part of a series (not something the cli tells you), so if we want to get them all we can add an `-install` flag to the above command. Or we could use `-title` to get a specific one. Such as: `-title "deer"
If we want to get more detailed information we can add a `-l` flag for long resuls:
```sh
libman -author "fenimore cooper" -source "standard" -l
libman -author "fenimore cooper" -source "global" -title "deer" -l
#
# Output:
#
# The Last of the Mohicans by James Fenimore Cooper
# Source: Standard Ebooks
# Subjects: adventure, fiction
# The Deerslayer by James Fenimore Cooper
# Source: Global Grey
# Subjects: adventure, fiction, historical fiction
# Files:
# epub - https://standardebooks.com/ebooks/james-fenimore-cooper/the-last-of-the-mohicans/downloads/james-fenimore-cooper_the-last-of-the-mohicans.epub
# azw3 - https://standardebooks.com/ebooks/james-fenimore-cooper/the-last-of-the-mohicans/downloads/james-fenimore-cooper_the-last-of-the-mohicans.azw3
# kepub - https://standardebooks.com/ebooks/james-fenimore-cooper/the-last-of-the-mohicans/downloads/james-fenimore-cooper_the-last-of-the-mohicans.kepub.epub
# pdf - https://www.globalgreyebooks.com/ebooks/james-fenimore-cooper_deerslayer.pdf
# epub - https://www.globalgreyebooks.com/ebooks/james-fenimore-cooper_deerslayer.epub
# mobi - https://www.globalgreyebooks.com/ebooks/james-fenimore-cooper_deerslayer.mobi
# azw3 - https://www.globalgreyebooks.com/ebooks/james-fenimore-cooper_deerslayer.azw3
# html - https://www.globalgreyebooks.com/online-ebooks/james-fenimore-cooper_deerslayer_complete-text.html
# Description:
# The Last of the Mohicans is one of the most famous tales of pioneer American adventure. Set during the French and Indian War, Mohicans tells the tale of the journey of two daughters to meet their father, a colonel, at Fort William Henry. The road is long and dangerous, and they, along with their American and Native guides, encounter adventure at each step.
#
# Mohicans is actually the second book in a pentalogy, the Leatherstocking Tales pentalogy. While the pentalogy saw success in its time, today Mohicans is by far the best-known of the books.
# The Deerslayer, or The First War-Path, is a novel by American writer James Fenimore Cooper, first published in 1841. It is the final book in the Leatherstocking Tales, although chronologically it is the first and is considered as a prequel to the other novels. Set in early 18th-century New York on Otsego Lake, the book tells the story of Natty Bumppo, a young frontiersman who is the child of white parents, but who grew up among Delaware Indians. Whilst objecting to the practice of scalping, Bummpo gets involved in an adventure with two men (Henry March and Tom Hutter) who have no such reservations. The book has been adapted into many films, as well as a tv series, and a radio drama.
#
# № 1 in the Leatherstocking Tales.
#
# This book has 212,978 words, 320 pages in the PDF version, and was originally published in 1841.
#
# Production notes: This ebook of The Deerslayer was published by Global Grey on the 7th July 2022. The artwork used for the cover is 'Indian Hunter' by Albert Bierstadt.
```
### To download/install
Okay. Let's download these. Wait, what format do we want? The output (either long or short) lists the available formats for each. Let's get the `epub`.
Okay. Let's download all three of these rather than just the one. Wait, what format do we want? The output (either long or short) lists the available formats for each. Let's get the `epub` by adding a `-format` option. Note that if you do not include `-format` you will get a query as to whether or not you want to proceed (y/n).
```sh
libman -author "fenimore cooper" -source "global grey" -format "epub" -install