Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

CLI parameters

azlux edited this page Apr 3, 2021 · 1 revision

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