Download the PHP package fraserpage/no-cry-cli without Composer
On this page you can find all versions of the php package fraserpage/no-cry-cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fraserpage/no-cry-cli
More information about fraserpage/no-cry-cli
Files in fraserpage/no-cry-cli
Download fraserpage/no-cry-cli
More information about fraserpage/no-cry-cli
Files in fraserpage/no-cry-cli
Vendor fraserpage
Package no-cry-cli
Short Description No-cry: A CLI tool that makes updating Wordpress plugins and WP Core (hopefully) not want to make you cry.
License MIT
Package no-cry-cli
Short Description No-cry: A CLI tool that makes updating Wordpress plugins and WP Core (hopefully) not want to make you cry.
License MIT
Please rate this library. Is it a good library?
Informations about the package no-cry-cli
BW WP plugin update tool
Creates a CLI tool named no-cry that makes updating plugins and WP Core (hopefully) not want to make you cry.
Creates a new branch, runs updates, individually commits them and gives you a nice output of what it did.
Build Requrirements
- PHP ^7.3|^8.0
Installing the tool
- the built application is included in this repo in the
/builds/
folder - from the root of the project directory run
mv builds/no-cry /usr/local/bin
to move the build to your bin folder (you might need to addsudo
to that command.)
Building the tool
- composer install
- run
php no-cry app:build
to build the tool - run
mv builds/no-cry /usr/local/bin
to move the build to your bin folder (you might need to addsudo
to that command.)
Using the tool
Before you start
- make sure the local
master
branch of the site you want to update is up to date with the remote and the working directory is clean - if you're using Lando start it up
- if you're using a different local server (e.g. Valet) make sure you've got the WP-CLI installed
- make sure that all paid plugins are licenced locally in order to recieve updates
Basic usage
- Run
no-cry please
and follow the prompts
Options
Run on Lando
- Add the lando flag:
-l
or--lando
to run the the commands on Lando (no-cry please -l
)
Specify ticket # in the command
- Optionally add the plugin update ticket number as an argument like so
no-cry please 545
. The tool will create a new branch in the following format for you:{$ticket}-plugin-updates-{$now->format('Y-m-d')}
Specify branch to run on
- Specify a branch (new or existing) to run the updates on like
no-cry please -b branch-name
orno-cry please --branch branch-name
Config file
Add a .no-cry.json file in the root of your project to save you from entering arguments each time you run the tool.
Prompts
- if you didn't enter the plugin update ticket number as an argument you'll be prompted to -- it'll be appended to the branch name like:
{$ticket}-plugin-updates-{$now->format('Y-m-d')}
- the tool will ask if you'd like to update WP Core
- the tool will ask if you'd like to add the output to your clipboard. This clipboard content will include GitLab quick actions
Output
- the tool will let you know what it's doing.
- after it's done the tool will print out a list of what was updated
Clean up
- pay attention to any errors in the plugin updates. You may need up update some mannually.
- after all plugins are up to date, and each update committed:
- push your changes, merge and deploy to staging for testing
To do
add option to specify ticket number in branch nameinclude update wp coreoptionally specify/select branch to commit to?Code cleanup: Spin out some of the main Command file into Concerns- Figure out a nice solution to update paid plugins (Integrate SatisPress??) --> new Composer based workflow
- Figure out a way to update Must Use plugins (Composer)
Laravel Zero
This project uses Laravel Zero. For full documentation, visit laravel-zero.com.
All versions of no-cry-cli with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.3|^8.0
laravel-zero/framework Version ^8.8
wp-cli/wp-cli Version ^2.5
wp-cli/wp-cli-bundle Version ^2.5
laravel-zero/framework Version ^8.8
wp-cli/wp-cli Version ^2.5
wp-cli/wp-cli-bundle Version ^2.5
The package fraserpage/no-cry-cli contains the following files
Loading the files please wait ....