Skip to content

Upgrade from the command line #29

Description

@pageer

Now that we have a CLI entry point, we should allow upgrading blog wrappers/data from the command line. It's silly to require the user to upgrade each blog through the admin UI, especially if you're already on the server, e.g. to run a git pull. Proposed commands: php ./cli.php --upgrade to do everything or php ./cli.php --upgrade=myblog to upgrade just "myblog".

Note that we need to make sure that user accounts are handled properly for this, because we don't have a "current user" when running from the CLI.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions