Skip to content
项目

关于

面向 Magento 开发者、系统管理员和 DevOps 人员的瑞士军刀。该工具提供大量经过充分测试的命令行命令,可节省数小时的工作时间。所有命令都可以通过模块 API 扩展。

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

n98-magerun2: The Swiss Army Knife for Magento 2

n98-magerun Logo

n98-magerun2 provides powerful CLI tools for Magento 2, Mage-OS, and Adobe Commerce.

Quick Start

Download the PHAR file

curl -sS -O https://files.magerun.net/n98-magerun2.phar
curl -sS -o n98-magerun2.phar.sha256 https://files.magerun.net/sha256.php?file=n98-magerun2.phar
shasum -a 256 -c n98-magerun2.phar.sha256

Install dist package

The dist package installs the n98-magerun2 PHAR file directly in your project.

composer require n98/magerun2-dist

Run the PHAR file

You can run the PHAR file directly from the command line:

./n98-magerun2.phar

Build from source

  1. Clone the repository:
    git clone https://github.com/netz98/n98-magerun2.git
    cd n98-magerun2
    
  2. Install dependencies:
    composer install
    
  3. Build the PHAR:
    ./build.sh
    

Full Documentation

For full installation, usage, development, and contribution guidelines, please visit the official documentation.

Category/Namespace Description Example Commands
admin Commands for managing Magento admin user accounts and related settings. admin:user:list, admin:user:create, admin:user:change-password, admin:notifications
cache Commands for interacting with and managing Magento's various cache systems. cache:clean, cache:disable, cache:enable, cache:flush, cache:list
config Commands for managing Magento store configurations and environment settings. config:store:get, config:store:set, config:env:set, config:search
composer Commands for managing Composer-related tasks and package deployment. composer:redeploy-base-packages
customer Commands for managing Magento customer accounts. customer:create, customer:list, customer:info, customer:change-password
db Commands for database operations such as dumps, imports, and queries. db:dump, db:import, db:query, db:create, db:info
dev Commands tailored for Magento developers, including code generation and debugging tools. dev:module:create, dev:console, dev:translate:admin, dev:theme:list
eav Commands for managing EAV (Entity-Attribute-Value) attributes. eav:attribute:list, eav:attribute:view, eav:attribute:remove
giftcard Commands for managing Magento gift cards. giftcard:pool:generate, giftcard:create, giftcard:info, giftcard:remove
generation Commands related to Magento's code generation processes. generation:flush
index Commands for managing Magento's indexers. indexer:list, indexer:trigger:recreate
install Command for installing Magento. installer
integration Command for integrations to Magento. integration:list, integration:show, integration:delete
magerun Commands for working with n98-magerun2 config and internal tools. magerun:config:info, magerun:config:dump
routes Commands for managing and viewing Magento routes. routes:list
script Command for running sequences of n98-magerun2 commands from a file. script
sys Commands for system-level information, checks, and maintenance tasks. sys:info, sys:check, sys:maintenance, sys:cron:list, sys:store:list

License

MIT License. See MIT-LICENSE.txt.

探索相关项目

加载中…