This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
drupalcampbristol/vendor/consolidation/self-update
2018-11-23 12:29:20 +00:00
..
scripts Update Composer, update everything 2018-11-23 12:29:20 +00:00
src Update Composer, update everything 2018-11-23 12:29:20 +00:00
.gitignore Update Composer, update everything 2018-11-23 12:29:20 +00:00
composer.json Update Composer, update everything 2018-11-23 12:29:20 +00:00
composer.lock Update Composer, update everything 2018-11-23 12:29:20 +00:00
LICENSE Update Composer, update everything 2018-11-23 12:29:20 +00:00
README.md Update Composer, update everything 2018-11-23 12:29:20 +00:00
VERSION Update Composer, update everything 2018-11-23 12:29:20 +00:00

SelfUpdate

Symfony Console command to update a phar in place.

Usage

To use the self:update command, instantiate it with the name of the application, its current version, and the full name of the GitHub project.

$cmd = new SelfUpdateCommand('MyAppName', '1.0.0', 'org/my-app');
$app->add($cmd);

Similar Projects