Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade from the command line #29

Closed
pageer opened this issue Jan 9, 2021 · 0 comments
Closed

Upgrade from the command line #29

pageer opened this issue Jan 9, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@pageer
Copy link
Owner

pageer commented Jan 9, 2021

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.

@pageer pageer self-assigned this Jan 9, 2021
@pageer pageer added the enhancement New feature or request label Jan 9, 2021
@pageer pageer added this to To do in LnBlog Release Planning via automation Jan 9, 2021
@pageer pageer added this to the LnBlog 2.2 milestone Jan 9, 2021
@pageer pageer closed this as completed in 17d584a Jan 10, 2021
LnBlog Release Planning automation moved this from To do to Done Jan 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

No branches or pull requests

1 participant