Skip to content

Commands

herrlock edited this page Jun 18, 2016 · 8 revisions

Commandline-Options

The commandline-options are parsed via commons-cli. If no options are given --gui is assumed.

--help / -h

shows the help (a short version of this page)

--console

Starts the commandline-downloader. Must receive additional configuration via further arguments:

  • -u / --url: (required) The url to download from
    • Required option
  • -p / --pattern: The pattern of chapter to download
    • Defaults to all chapters
  • -x / --proxy: The proxy in format like http://example.com:1337
    • Basic-Authentication is supported, you need to specify the user and password in the form myuser:mypassword@example.com:1337
    • Defaults to no proxy

Other options (no download, just informational):

  • --hoster list all hosters with name and their base-url

--dialog

Starts a downloader that prompts for all parameters one after another

Currently not implemented

--gui

Show a gui to simplify downloading

The gui in 1.4 is a simple gui to manage the application. It is required to enter the right properties into the file downloader.txt. The gui in 1.5 will be better (hopefully)

--server

Starts a http-webserver on port 1905 that can be accessed via localhost:1905

Subcommand: --browser automatically launches the default-browser after the server is started

--viewpage

Starts the creation of html-pages for comfortable consuming the manga-chapters

The subcommand --folder <folder> can be passed with a folder as argument, then the pages are created in that folder. If no further argument is given an input-dialog promps for that folder (still using swing for that, sorry).

Other

  • --log <level> set the log-level, default is INFO. Allowed values are OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE
Clone this wiki locally