1
0
mirror of https://github.com/azlux/botamusique synced 2024-11-23 13:56:17 +00:00
1 CLI parameters
azlux edited this page 2021-04-03 12:52:32 +02:00

All CLI parameters are documented with -h

azlux@GlaDoS:/botamusique# venv/bin/python3 mumbleBot.py -h
usage: mumbleBot.py [-h] [--config CONFIG] [--db DB] [--music-db MUSIC_DB] [--lang LANG] [-q] [-v] [-s HOST] [-u USER] [-P PASSWORD] [-T TOKENS] [-p PORT] [-c CHANNEL] [-C CERTIFICATE]

Bot for playing music on Mumble

optional arguments:
  -h, --help            show this help message and exit
  --config CONFIG       Load configuration from this file. Default: configuration.ini
  --db DB               Settings database file
  --music-db MUSIC_DB   Music library database file
  --lang LANG           Preferred language. Support nl_NL, es_ES, it_IT, de_DE, zh_CN, ja_JP, fr_FR, en_US
  -q, --quiet           Only Error logs
  -v, --verbose         Show debug log
  -s HOST, --server HOST
                        Hostname of the Mumble server
  -u USER, --user USER  Username for the bot
  -P PASSWORD, --password PASSWORD
                        Server password, if required
  -T TOKENS, --tokens TOKENS
                        Server tokens to enter a channel, if required (multiple entries separated with comma ','
  -p PORT, --port PORT  Port for the Mumble server
  -c CHANNEL, --channel CHANNEL
                        Default channel for the bot
  -C CERTIFICATE, --cert CERTIFICATE
                        Certificate file