feat: quiet option

This commit is contained in:
lapwat
2022-01-02 14:58:55 +01:00
parent 5e735f9c52
commit 008e4ebd7a
5 changed files with 24 additions and 14 deletions

View File

@@ -73,7 +73,7 @@ var getCmd = &cobra.Command{
},
Run: func(cmd *cobra.Command, args []string) {
url := args[0]
b := book.NewBookFromURL(url, selector, name, author, recursive, include, images, limit, offset, delay, threads)
b := book.NewBookFromURL(url, selector, name, author, recursive, include, images, quiet, limit, offset, delay, threads)
fakeConfig := book.NewScrapeConfigFake()
fakeChapter := book.NewChapter("", b.Name(), b.Author(), "", b.Chapters(), fakeConfig)