-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This replaces the `cliupdate.php` script with a `symfony/console` based entry point: php bin/selfoss update In the future we are going to introduce more commands.
- Loading branch information
Showing
11 changed files
with
748 additions
and
701 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
|
||
// SPDX-FileCopyrightText: 2023 Jan Tojnar <[email protected]> | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
require __DIR__ . '/../src/common.php'; | ||
|
||
use Commands\UpdateCommand; | ||
use Symfony\Component\Console\Application; | ||
|
||
$application = new Application(); | ||
|
||
$application->add($dice->create(UpdateCommand::class)); | ||
|
||
$application->run(); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.