Lines Matching refs:cli
29 $cli = plugin_load('cli', 'structtasks');
30 $this->assertTrue($cli->initialise());
37 $cli = plugin_load('cli', 'structtasks');
38 $this->assertFalse($cli->initialise(false));
44 $cli = plugin_load('cli', 'structtasks');
45 $this->assertFalse($cli->initialise(false));
50 $cli = plugin_load('cli', 'structtasks');
51 $this->assertFalse($cli->initialise());
55 $cli = plugin_load('cli', 'structtasks');
57 $n = $cli->createNotifiers([3, 2, 1, 0], true);
64 $n = $cli->createNotifiers([0], true);
69 $n = $cli->createNotifiers([2, 1], false);
74 $n = $cli->createNotifiers([], false);
85 $cli = plugin_load('cli', 'structtasks');
86 $this->assertTrue($cli->initialise());
119 $cli->processTask($page, [$notifier]);
129 $cli = plugin_load('cli', 'structtasks');
130 $this->assertTrue($cli->initialise());
189 $cli->notifiers[] = $notifier;
191 $cli->testing = true;
193 $cli->notify(false);