{"id":9025,"date":"2023-11-20T03:56:56","date_gmt":"2023-11-20T03:56:56","guid":{"rendered":"https:\/\/www.linuxandotherstuff.com\/?p=9025"},"modified":"2023-11-20T03:58:46","modified_gmt":"2023-11-20T03:58:46","slug":"magento-2-commands","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2023\/11\/20\/magento-2-commands\/","title":{"rendered":"Magento 2 Commands"},"content":{"rendered":"\n<p>List<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Available commands:\n\nphp bin\/magento  list                  \nphp bin\/magento l\n\nadmin\n\nphp bin\/magento admin:user:create              php bin\/magento a:u:c\nphp bin\/magento admin:user:unlock              php bin\/magento a:u:u   \n\ncache\n\nphp bin\/magento cache:clean                  php bin\/magento c:c\nphp bin\/magento cache:disable                php bin\/magento c:d\nphp bin\/magento cache:enable                 php bin\/magento c:e\nphp bin\/magento cache:flush                  php bin\/magento c:f\nphp bin\/magento cache:status                 php bin\/magento c:s\n\ncatalog\n\nphp bin\/magento catalog:images:resize                   php bin\/magento c:i:r\nphp bin\/magento catalog:product:attributes:cleanup      php bin\/magento c:p:a:c\n\ncron\n\nphp bin\/magento cron:run              php bin\/magento c:r\n\ncustomer\n\nphp bin\/magento customer:hash:upgrade     php bin\/magento c:h:u\n\ndeploy\n\nphp bin\/magento deploy:mode:set           php bin\/magento d:m:se\nphp bin\/magento deploy:mode:show          php bin\/magento d:m:sh\n\ndev\n\nphp bin\/magento dev:source-theme:deploy        php bin\/magento d:source-theme:d\nphp bin\/magento dev:tests:run                  php bin\/magento d:t:r\nphp bin\/magento dev:urn-catalog:generate       php bin\/magento d:urn-catalog:g\nphp bin\/magento dev:xml:convert                php bin\/magento d:x:c\n\ni18n\n\nphp bin\/magento i18n:collect-phrases           php bin\/magento i:collect-phrases\nphp bin\/magento i18n:pack                      php bin\/magento i:p\nphp bin\/magento i18n:uninstall                 php bin\/magento i:u\n\nindexer\n\nphp bin\/magento indexer:info                   php bin\/magento i:i\nphp bin\/magento indexer:reindex                php bin\/magento i:rei\nphp bin\/magento indexer:reset                  php bin\/magento i:res\nphp bin\/magento indexer:set-mode               php bin\/magento i:set\nphp bin\/magento indexer:show-mode              php bin\/magento i:show\nphp bin\/magento indexer:status                 php bin\/magento i:st\n\ninfo\n\nphp bin\/magento info:adminuri                              php bin\/magento i:a\nphp bin\/magento info:backups:list                          php bin\/magento i:b:l\nphp bin\/magento info:currency:list                         php bin\/magento i:c:l\nphp bin\/magento info:dependencies:show-framework           php bin\/magento i:d:show-framework\nphp bin\/magento info:dependencies:show-modules             php bin\/magento i:d:show-modules\nphp bin\/magento info:dependencies:show-modules-circular    php bin\/magento i:d:show-circular\nphp bin\/magento info:language:list                         php bin\/magento i:l:l\nphp bin\/magento info:timezone:list                         php bin\/magento i:t:l\nmaintenance\n\nphp bin\/magento maintenance:allow-ips          php bin\/magento ma:a\nphp bin\/magento maintenance:disable            php bin\/magento ma:d\nphp bin\/magento maintenance:enable             php bin\/magento ma:e\nphp bin\/magento maintenance:status             php bin\/magento ma:s\n\nmodule\n\nphp bin\/magento module:disable                 php bin\/magento mo:d\nphp bin\/magento module:enable                  php bin\/magento mo:e\nphp bin\/magento module:status                  php bin\/magento mo:s\nphp bin\/magento module:uninstall               php bin\/magento mo:u\n\nsampledata\n\nphp bin\/magento sampledata:deploy            php bin\/magento ma:d\nphp bin\/magento sampledata:remove            php bin\/magento sa:rem\nphp bin\/magento sampledata:reset             php bin\/magento sa:res\n\nsetup\n\nphp bin\/magento setup:backup                            php bin\/magento se:b\nphp bin\/magento setup:config:set                        php bin\/magento se:c:se\nphp bin\/magento setup:cron:run                          php bin\/magento se:c:r\nphp bin\/magento setup:db-data:upgrade                   php bin\/magento se:db-data:u\nphp bin\/magento setup:db-schema:upgrade                 php bin\/magento se:db-schema:u\nphp bin\/magento setup:db:status                         php bin\/magento se:d:st\nphp bin\/magento setup:di:compile                        php bin\/magento se:d:c\nphp bin\/magento setup:install                           php bin\/magento se:i\nphp bin\/magento setup:performance:generate-fixtures     php bin\/magento se:p:generate-fixtures\nphp bin\/magento setup:rollback                          php bin\/magento se:r\nphp bin\/magento setup:static-content:deploy             php bin\/magento se:s:d\nphp bin\/magento setup:store-config:set                  php bin\/magento se:sto:s \nphp bin\/magento setup:uninstall                         php bin\/magento se:un\nphp bin\/magento setup:upgrade                           php bin\/magento se:up\n\ntheme\n\nphp bin\/magento theme:uninstall                         php bin\/magento t:u<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>List<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61],"tags":[],"class_list":["post-9025","post","type-post","status-publish","format-standard","hentry","category-magento"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/9025","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=9025"}],"version-history":[{"count":3,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/9025\/revisions"}],"predecessor-version":[{"id":9029,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/9025\/revisions\/9029"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=9025"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=9025"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=9025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}