Giter Site home page Giter Site logo

mage's Introduction

Mage

Mage is a simple tool built on top of bin/magento to enhance your Magento 2 development experience. It provides shortcuts and custom functions to save you time and effort.

Benefits of Using Mage

  • Easier commands: Mage introduces shorter aliases for common bin/magento commands, saving you keystrokes.
  • Custom functions: Mage offers helper commands like reindex and purge for specific tasks.
  • Open stores quickly: Open your default store or specific store views with mage open.
  • Efficient development: The watch command automates cache cleaning on file changes, improving your workflow.

Installation

Download the script:

wget https://raw.githubusercontent.com/GrimLink/mage/main/mage && chmod +x mage

Alternatively, use curl:

curl -O https://raw.githubusercontent.com/GrimLink/mage/main/mage && chmod +x mage

Available Commands

For a complete list, run mage help. Here are some highlights:

  • mage open [storeview]: Open your default store or a specific store based on the storeview name. You can also use admin instead of storeview, to open the admin panel.
  • mage watch: This alias for mage2tv Cache Clean monitors for Magento 2 file changes and clears only the affected cache, streamlining development.
  • mage purge: This command clears all static generated files and caches, useful for troubleshooting or forcing a hard reload.

Note:

Supported Platforms

Mage works without additional configuration on:

Contributing

We welcome contributions to Mage! Fork the repository, make your changes, and submit a pull request.

License

Mage is licensed under the MIT License. See the LICENSE file for details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.