forked from Cockpit-HQ/Cockpit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtower
More file actions
executable file
·35 lines (25 loc) · 1008 Bytes
/
tower
File metadata and controls
executable file
·35 lines (25 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/env php
<?php
if (PHP_SAPI !== 'cli') {
exit('Script needs to be run from Command Line Interface (cli)');
}
define('APP_CLI', true);
require __DIR__.'/bootstrap.php';
use Symfony\Component\Console\Application;
$app = Cockpit::instance();
$cli = new Application("
_|_|_| _| _| _|
_| _|_| _|_|_| _| _| _|_|_| _|_|_|_|
_| _| _| _| _|_| _| _| _| _|
_| _| _| _| _| _| _| _| _| _|
_|_|_| _|_| _|_|_| _| _| _|_|_| _| _|_|
_|
_|
_|_|_|_|_|
_| _|_| _| _| _| _|_| _| _|_|
_| _| _| _| _| _| _|_|_|_| _|_|
_| _| _| _| _| _| _| _| _|
_| _|_| _| _| _|_|_| _|
{$app['app.name']} Tower", $app['app.version']);
$app->trigger('app.cli.init', [$cli]);
$cli->run();