(configuration, options, plugin)
| 14 | |
| 15 | @plugin.init() |
| 16 | def init(configuration, options, plugin): |
| 17 | if options.get('disable-on-init'): |
| 18 | return {'disable': 'init saying disable'} |
| 19 | return {} |
| 20 | |
| 21 | |
| 22 | plugin.add_option('disable-on-init', False, 'disable plugin on init', opt_type='bool') |