Skip to content

A command line Magento toolkit for Magento devs to perform repetitive tasks

Notifications You must be signed in to change notification settings

rutgerrademaker/mate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 

Repository files navigation

ABOUT
'mate' is a command line toolkit for Magento developers. It was written in a few hours to
tackle the most repetitive tasks. 'mate' is written by Peter Jaap Blaakmeer.

INSTALLATION
1) Put the file in a convenient location (like /var/scripts) and name it 'mate' or 'mate.php'
    or 'mate.sh' (or whatever you'd like).
2) Then make it executable ('chmod +x mate'). Open your ~/.bashrc and put in an alias like so;
    alias mate='/var/scripts/mate'
3) Reload your bash; 'source ~/.bashrc'.

USAGE
Go into the directory of a Magento installation (any level deep) and run 'mate'.
It'll give a warning if you are not in a Magento tree. Otherwise, it'll output a list of
commands you can use. Certain commands of mate (such as 'compiler' and 'indexer') are just piped
to the existing equivalent file (shell/compiler.php and shell/indexer.php).

CHANGELOG
14-08-2012: Added 'mate logs [enable/disable] / [on/off]' to enable/disable logging to var/log/system.log
01-08-2012: Added 'mate conflicts' to look for conflicts between third party modules
31-07-2012: Added 'mate devurl' to change the base URL to {{base_url}} for dev purposes
31-07-2012: Added 'mate user' to create admin users & refactored the root discovery part to be
    able to use mate from anywhere within a Magento root dir
23-04-2012: Added admin menu page to extension created by 'mate skeleton'
12-04-2012: Added 'mate events' to get a list of all the events that are found in the codebase
    (credits go to Byte - http://www.byte.nl/blog/2012/02/03/how-to-list-all-events-in-magento)
11-04-2012: Added 'mate log' to view the last 50 lines of system.log
10-04-2012: Added 'mate import' to import a backupped database, tweaked 'skeleton' a bit
30-03-2012: Added 'mate reindexall' as a shortcut for 'mate indexer reindexall'
29-03-2012: Added 'mate skeleton' to quickly create a skeleton module for development

CONTACT
GitHub: https://github.com/peterjaap/mate
Twitter: https://twitter.com/PeterJaap
Email: peterjaap@elgentos.nl

LICENSE
Copyright (C) 2012 Elgentos

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

About

A command line Magento toolkit for Magento devs to perform repetitive tasks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published