task('version') ->desc('Get the server version') ->action(function () { Console::log(App::getEnv('_APP_VERSION', 'UNKNOWN')); }); $cli->run();