Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
laureanray committed Jul 13, 2023
1 parent 4a638e8 commit d71dbf5
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,19 @@ Search for a book using the old website (default)
clibgen search "Eloquent JavaScript"
```

Search for a book using the newer website (this is useful if for some reason the old website is down or the mirrors are not working)
`-s or -site` flag
#### Search

```shell
clibgen search -s "new" "Eloquent JavaScript"
```
Usage:
` clibgen search [flags]`

```shell
clibgen search -s "legacy" "Eloquent JavaScript"
```
Flags:
- -f, --filter string search by [title, author, isbn] (default "title")
- -h, --help help for search
- -n, --number of results int number of result(s) to be displayed maximum: 25 (default 10)
- -o, --output string Output directory (default "./")
- -s, --site string which website to use [legacy, new] (default "legacy")

Limit search results (default: 10)

```shell
clibgen search -n 5 "Eloquent JavaScript"
```

### Found an issue?

Expand Down

0 comments on commit d71dbf5

Please sign in to comment.