Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rgranadino/Interactive-Magento-Console

A simple shell script which loads a magento environment
https://github.com/rgranadino/Interactive-Magento-Console

Last synced: 25 days ago
JSON representation

A simple shell script which loads a magento environment

Awesome Lists containing this project

README

        

A *simple* shell script to load up a Magento environment and execute PHP code
Very experimental and should only be ran on dev servers

REQUIRES
php pcntl

OPTIONAL
php readline (no history, autocomplete or cursor support)

KNOWN ISSUES
ctrl+c doesn't exit app until you return/enter (but at least it'll save your history)
poorly written auto complete functionality
input must be able to be eval'd (e.g. `$x="` would cause a syntax error)

INSTALL
place in your include path or base magento directory, make sure it's executable
must be ran from base magento directory

USAGE
imc [store_code]

INFO
History File Saved at ~/.imc_history
Log File Saved at ~/imc.log