forked from akaunting/akaunting
-
Notifications
You must be signed in to change notification settings - Fork 0
/
artisan
27 lines (20 loc) · 632 Bytes
/
artisan
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
#!/usr/bin/env php
<?php
/**
* @package Akaunting
* @copyright 2017-2020 Akaunting. All rights reserved.
* @license GNU GPL version 3; see LICENSE.txt
* @link https://akaunting.com
*/
// Register the auto-loader
require __DIR__ . '/bootstrap/autoload.php';
// Load the app
$app = require_once __DIR__ . '/bootstrap/app.php';
// Run the app
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
$status = $kernel->handle(
$input = new Symfony\Component\Console\Input\ArgvInput,
new Symfony\Component\Console\Output\ConsoleOutput
);
$kernel->terminate($input, $status);
exit($status);