mirror of https://github.com/CrimsonTome/tldr.git
37 lines
661 B
Markdown
37 lines
661 B
Markdown
# magento
|
|
|
|
> A CLI for managing the Magento PHP framework.
|
|
> More information: <https://magento.com>.
|
|
|
|
- Enable one or more space-separated modules:
|
|
|
|
`magento module:enable {{module(s)}}`
|
|
|
|
- Disable one or more space-separated modules:
|
|
|
|
`magento module:disable {{module(s)}}`
|
|
|
|
- Update the database after enabling modules:
|
|
|
|
`magento setup:upgrade`
|
|
|
|
- Update code and dependency injection configuration:
|
|
|
|
`magento setup:di:compile`
|
|
|
|
- Deploy static assets:
|
|
|
|
`magento setup:static-content:deploy`
|
|
|
|
- Enable maintenance mode:
|
|
|
|
`magento maintenance:enable`
|
|
|
|
- Disable maintenance mode:
|
|
|
|
`magento maintenance:disable`
|
|
|
|
- List all available commands:
|
|
|
|
`magento list`
|