Some additional commands for N98-MageRun Magento command-line tool.
There are a few options. You can check out the different options in the MageRun docs.
Here's the easiest:
-
Create ~/.n98-magerun/modules/ if it doesn't already exist.
mkdir -p ~/.n98-magerun/modules/
-
Clone the magerun-addons repository in there
cd ~/.n98-magerun/modules/ && git clone git@github.com:tschifftner/magerun-addons.git ~/.n98-magerun/modules/tschifftner-magerun
-
It should be installed. To see that it was installed, check to see if one of the new commands is in there, like
order:setstatus:complete
.n98-magerun.phar help order:setstatus:complete
This commands creates missing invoices and shipments and sets order status to complete.
$ n98-magerun.phar order:setstatus:complete [--increment-ids[="100004200-100004250,100003175"]] [--confirm-all]
Every order has to be confirmed manually if --config-all
is not set.
To limit the orders you can specify single, comma separated and ranges of increment ids. You can even combine those like --increment-ids=100004215,100004219,100004227-100004238
Project helper allow to easily install Projects. This works for prepared projects on aws s3 only.
$ n98-magerun.phar project:helper:create
Requirements for a workable helper:
- Update bash on Mac
brew install bash
- Define bucket in ~/.n98-magerun.yml
s3bucket: 's3://bucket'
- Define credentials in ~/.aws
- magerun
- This readme is based on the readme of Kalen Jordan addon