Skip to content

Command Line Arguments

elad661 edited this page Nov 10, 2012 · 6 revisions

Willie's command line arguments are as follows:

  • -h, --help
  • Show the help message and exit
  • -l, --list
  • List all available config files
  • -c filename, --config filename
  • Use the given config file. Path is relative to ~/.willie, ~/.jenni or ~/.phenny by this order of priortiy, unless otherwise specified. If not given, default.cfg is assumed.
  • -m, --migrate
  • Migrate the current Willie configuration file from the old .py format to the new ConfigParser based .cfg format
  • -d, --fork
  • Run Willie in the background. Output will still be shown unless --quiet is used.
  • -q, --quit
  • Tell a running Willie to quit gracefully. (That is, send a QUIT message to the server before exiting.) This only affects the Willie instance with the same config file. i.e, the same --config will need to be specified here if it was specified when you started Willie.
  • --quiet
  • Suppress all terminal output
  • -k, --kill
  • Kill a running Willie in an un-clean fashion (ie, send SIGKILL to the process, no quit message will be send to the server). Like --quit, the same --config must be specified here as when it was started, if any. Should only be used if Willie does not respond to --quit