#!/usr/bin/env php <?php require __DIR__ . '/vendor/autoload.php'; use Symfony\Component\Console\Application; use Composer\InstalledVersions; $package = \Composer\InstalledVersions::getRootPackage(); $application = new Application('backup', $package['version']); $application->add(new App\CommandBackup()); $application->add(new App\CommandShow()); $application->run();