The Pyborg Command Line App¶
pyborg¶
Pyborg is a markov chain bot for IRC (and other services [even at the same time with the same database]) that generates replies based on messages and it’s database
pyborg [OPTIONS] COMMAND [ARGS]...
Options
-
--version
¶
output a version summary
-
--debug
¶
control log level
-
--verbose
,
--silent
¶
control log level
brain¶
Pyborg brain (pybrain.json) utils
pyborg brain [OPTIONS] COMMAND [ARGS]...
backup¶
Backup a specific brain
pyborg brain backup [OPTIONS] [TARGET_BRAIN]
Options
-
--output
<output>
¶
Arguments
-
TARGET_BRAIN
¶
Optional argument
doctor¶
run diagnostics on a specific pyborg brain
pyborg brain doctor [OPTIONS] [TARGET_BRAIN]
Options
-
--one-two
¶
Arguments
-
TARGET_BRAIN
¶
Optional argument
import¶
move your brain to the new central location
pyborg brain import [OPTIONS] [TARGET_BRAIN]
Options
-
--tag
<tag>
¶
Arguments
-
TARGET_BRAIN
¶
Optional argument
filein¶
ascii file input module
pyborg filein [OPTIONS] INPUT_FILE
Options
-
--multiplex
<multiplex>
¶
Arguments
-
INPUT_FILE
¶
Required argument
follow-twitter-user¶
follow a twitter user over the api
pyborg follow-twitter-user [OPTIONS] TARGET_USER
Options
-
--conf-file
<conf_file>
¶
Arguments
-
TARGET_USER
¶
Required argument
http¶
Run a server for mutliheaded (multiplex) pyborg
pyborg http [OPTIONS]
Options
-
--brain_name
<brain_name>
¶
-
--host
<host>
¶
-
--port
<port>
¶
-
--reloader
<reloader>
¶
irc¶
runs the irc2 module a slim, secure pyborg irc bot
pyborg irc [OPTIONS]
Options
-
--conf-file
<conf_file>
¶
linein¶
This is a commandline repl for interacting with pyborg locally
pyborg linein [OPTIONS]
Options
-
--multiplex
<multiplex>
¶
mastodon¶
Run the mastodon mod; run register and login first
pyborg mastodon [OPTIONS] COMMAND [ARGS]...
Options
-
--base-url
<base_url>
¶
-
--conf-file
<conf_file>
¶
-
--secret-folder
<secret_folder>
¶
set-log-level¶
configure mod_http’s log level after launch
use the levels from logging: (DEBUG, INFO, WARNING, ERROR, CRITICAL)
pyborg set-log-level [OPTIONS] LOG_LEVEL
Arguments
-
LOG_LEVEL
¶
Required argument
tumblr¶
watch a tumblr tag for posts to respond to
pyborg tumblr [OPTIONS]
Options
-
--conf-file
<conf_file>
¶
twitter¶
be your own horse_ebooks: twitter module
pyborg twitter [OPTIONS]
Options
-
--conf-file
<conf_file>
¶
utils¶
extra pyborg helper scripts
pyborg utils [OPTIONS] COMMAND [ARGS]...
yeet-config¶
create example toml configurations in pyborg setting folder
pyborg yeet-config [OPTIONS]