forked from nova-framework/framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnova
More file actions
20 lines (18 loc) · 606 Bytes
/
nova
File metadata and controls
20 lines (18 loc) · 606 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env php
<?php
require_once 'vendor/autoload.php';
use Cli\ControllerCommand;
use Cli\ModelCommand;
use Cli\EncryptionCommand;
use Cli\ClearCacheCommand;
use Cli\ClearSessionsCommand;
use Cli\ClearLogsCommand;
use Symfony\Component\Console\Application;
$console = new Application('Nova Framework Command Line Interface for v3.0', '1.3.0');
$console->add(new ControllerCommand());
$console->add(new ModelCommand());
$console->add(new EncryptionCommand());
$console->add(new ClearCacheCommand());
$console->add(new ClearSessionsCommand());
$console->add(new ClearLogsCommand());
$console->run();