| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. |
| 2 |
.TH ERRBOT "1" "January 2024" "Errbot version 6.2.0" "User Commands" |
| 3 |
.SH NAME |
| 4 |
Errbot \- Chatbot designed to be simple to extend with plugins written in Python |
| 5 |
.SH DESCRIPTION |
| 6 |
usage: errbot [\-h] [\-c CONFIG] [\-v | \fB\-r\fR [RESTORE] | \fB\-l\fR | \fB\-\-new\-plugin\fR |
| 7 |
.IP |
| 8 |
[NEW_PLUGIN] | \fB\-i\fR [INIT] | \fB\-\-storage\-set\fR STORAGE_SET | |
| 9 |
\fB\-\-storage\-merge\fR STORAGE_MERGE | \fB\-\-storage\-get\fR STORAGE_GET | \fB\-T\fR | |
| 10 |
\fB\-G]\fR [\-d] [\-p PIDFILE] |
| 11 |
.PP |
| 12 |
The main entry point of the errbot. |
| 13 |
.SS "options:" |
| 14 |
.TP |
| 15 |
\fB\-h\fR, \fB\-\-help\fR |
| 16 |
show this help message and exit |
| 17 |
.TP |
| 18 |
\fB\-c\fR CONFIG, \fB\-\-config\fR CONFIG |
| 19 |
Full path to your config.py (default: config.py in |
| 20 |
current working directory). |
| 21 |
.TP |
| 22 |
\fB\-v\fR, \fB\-\-version\fR |
| 23 |
show program's version number and exit |
| 24 |
.TP |
| 25 |
\fB\-r\fR [RESTORE], \fB\-\-restore\fR [RESTORE] |
| 26 |
restore a bot from backup.py (default: backup.py from |
| 27 |
the bot data directory) |
| 28 |
.TP |
| 29 |
\fB\-l\fR, \fB\-\-list\fR |
| 30 |
list all available backends |
| 31 |
.TP |
| 32 |
\fB\-\-new\-plugin\fR [NEW_PLUGIN] |
| 33 |
create a new plugin in the specified directory |
| 34 |
.TP |
| 35 |
\fB\-i\fR [INIT], \fB\-\-init\fR [INIT] |
| 36 |
Initialize a simple bot minimal configuration in the |
| 37 |
optionally given directory (otherwise it will be the |
| 38 |
working directory). This will create a data |
| 39 |
subdirectory for the bot data dir and a plugins |
| 40 |
directory for your plugin development with an example |
| 41 |
in it to get you started. |
| 42 |
.TP |
| 43 |
\fB\-\-storage\-set\fR STORAGE_SET |
| 44 |
DANGER: Delete the given storage namespace and set the |
| 45 |
python dictionary expression passed on stdin. |
| 46 |
.TP |
| 47 |
\fB\-\-storage\-merge\fR STORAGE_MERGE |
| 48 |
DANGER: Merge in the python dictionary expression |
| 49 |
passed on stdin into the given storage namespace. |
| 50 |
.TP |
| 51 |
\fB\-\-storage\-get\fR STORAGE_GET |
| 52 |
Dump the given storage namespace in a format |
| 53 |
compatible for \fB\-\-storage\-set\fR and \fB\-\-storage\-merge\fR. |
| 54 |
.TP |
| 55 |
\fB\-T\fR, \fB\-\-text\fR |
| 56 |
force local text backend |
| 57 |
.TP |
| 58 |
\fB\-G\fR, \fB\-\-graphic\fR |
| 59 |
force local graphical backend |
| 60 |
.SS "optional daemonization arguments:" |
| 61 |
.TP |
| 62 |
\fB\-d\fR, \fB\-\-daemon\fR |
| 63 |
Detach the process from the console |
| 64 |
.TP |
| 65 |
\fB\-p\fR PIDFILE, \fB\-\-pidfile\fR PIDFILE |
| 66 |
Specify the pid file for the daemon (default: current |
| 67 |
bot data directory) |