#!/usr/bin/env php
<?php

use Inhere\Kite\Console\CliApplication;
use Inhere\Kite\Kite;

require dirname(__DIR__) . '/app/boot.php';

$app = new CliApplication([
    'name'      => 'kite',
    'desc'      => 'Kite is a tool for help development',
    'rootPath'  => Kite::basePath(),
    'version'   => Kite::VERSION,
    'homepage'  => Kite::HOMEPAGE,
    'publishAt' => Kite::PUBLISH_AT,
    'updateAt'  => Kite::UPDATED_AT,
]);

$app->addAliases('self:update', [
    'selfupdate',
    'self-update',
    'updateself',
    'update-self',
    'upself',
    'selfup'
]);

// $app->prepare();



// start application
$app->run();
