Skip to content
This repository has been archived by the owner on Jul 20, 2022. It is now read-only.
/ magerun2-addons Public archive

Some additional commands for the excellent m98-magerun2 Magento 2 command-line tool

License

Notifications You must be signed in to change notification settings

magehost/magerun2-addons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discontinued - development continues at https://github.com/Savvii/magerun2-addons

magerun2 addons

Some additional commands for the excellent m98-magerun2 Magento 2 command-line tool.

Installation

There are a few options. You can check out the different options in the magerun2 Github wiki.

Here's the easiest:

  1. Create ~/.n98-magerun2/modules/ if it doesn't already exist.

     mkdir -p ~/.n98-magerun2/modules/
    
  2. Clone the magerun2-addons repository in there

     cd ~/.n98-magerun2/modules/ && git clone https://github.com/magehost/magerun2-addons.git magehost-addons
    
  3. It should be installed. To see that it was installed, check to see if one of the new commands is in there;

     n98-magerun2.phar magehost:helloworld
    

Commands

Hello world

Using this command, you can see our fancy hello world, this is used as a template for new commands

magerun2 magehost:helloworld

Lock admin

Using this command, you lock all active admin users, this will also write the locked user_ids in ~/.locked_admin_users

magerun2 magehost:admin:lock

Unlock admin

Using this command, you unlock admin users locked by us, this will read the ids from ~/.locked_admin_users

magerun2 magehost:admin:unlock

Check performance

Using this command, you can check for the most common performance failures in your environment

magerun2 magehost:performance:check

About

Some additional commands for the excellent m98-magerun2 Magento 2 command-line tool

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages