Note

Command-Line arguments takes precedence over similar settings defined in the configuration file.

To use these command-line switches, open a terminal or command-prompt inside the installation folder of HPX and execute:

happypandax.exe --help (omit the .exe suffix if you’re not on Windows).

Command-Line Arguments

A manga/doujinshi manager with tagging support (https://github.com/happypandax/happypandax)

usage: Command-Line Arguments [-h] [-p PORT] [--torrent-port PORT]
                              [--web-port PORT] [--host HOST]
                              [--web-host HOST] [--gen-config] [-d] [-i] [-v]
                              [--safe] [-x] [-z] [--dev-db] [--only-web]
                              [--restore [PATH]] [--backup [PATH]]
                              [--dry-run SECONDS] [--momo ...]
                              ACTION ...
-h, --help

show this help message and exit

-p <port>, --port <port>

Specify which port to start the server on (default: 7007)

--torrent-port <port>

Specify which port to start the torrent client on (default: 7006)

--web-port <port>

Specify which port to start the webserver on (default: 7008)

--host <host>

Specify which address the server should bind to (default: localhost)

--web-host <host>

Specify which address the webserver should bind to (defualt: 0.0.0.0)

--gen-config

Generate a skeleton example config file and quit

-d, --debug

Start in debug mode (collects more information)

-i, --interact

Start in interactive mode

-v, --version

show program’s version number and exit

--safe

Start without plugins

-x, --dev

Start in development mode (redirects logging to stdout among other things)

-z, --cdev

Start in cdev mode (reserved, don’t use this)

--dev-db

Create and use a development database

--only-web

Start only the webserver (useful for debugging)

--restore <path>

Restore from a folder or archive file (omit path to restore from root folder)

--backup <path>

Create a backup into given folder (omit path to use the default folder)

--dry-run <seconds>

Run for X seconds and then quit

--momo <momo>

Reserved for best girl Momo

Command-Line Arguments user

usage: Command-Line Arguments user [-h] ACTION ...
-h, --help

show this help message and exit

Command-Line Arguments user create

usage: Command-Line Arguments user create [-h] [-t USERTYPE] [-u USERNAME]
                                          [-p PASSWORD]
-h, --help

show this help message and exit

-t {admin,guest,user}

Type of user, one of ‘admin’, ‘guest’, ‘user’

-u <username>

Name of user

-p <password>

Password for user

Command-Line Arguments user delete

usage: Command-Line Arguments user delete [-h] USERNAME
username

Name of user

-h, --help

show this help message and exit

Command-Line Arguments user list

usage: Command-Line Arguments user list [-h] PAGENUMBER
pagenumber

Page number

-h, --help

show this help message and exit