aboutsummaryrefslogtreecommitdiffstats
path: root/examples/simple/custom_option.py
Commit message (Collapse)AuthorAgeFilesLines
* configure(options, updated) -> configure(updated)Aldo Cortesi2017-04-261-2/+2
| | | | | Options are now available globally on ctx, so the first argument of configure is redundant.
* addon loader: add boot_into, which replaces returning from start()Aldo Cortesi2017-03-251-2/+2
| | | | | While we're here, expand test coverage for addonmanager to 100%, and promote to individual coverage.
* addons: start -> load throughoutAldo Cortesi2017-03-251-1/+1
|
* Enable custom options in config filesAldo Cortesi2017-03-141-1/+2
| | | | | We also now ignore unknown options in config files by default, and print a warning if verbosity is incremented.
* Optmanager: handle unknown options in value setsAldo Cortesi2017-03-141-1/+1
|
* Enable custom options for addonsAldo Cortesi2017-03-141-0/+10
- Add an options parameter to the start() event. This is to be used by addons on startup to add custom options. - Add a running() event that is called once the proxy is up and running. - With the new paradigm we can't log during master __init__, so add a tiny termstatus addon to print proxy status to terminal once we're running.