Commit bbd02a9
Add mageforge:static:clean command for comprehensive cache and generated files cleanup (#56)
* Initial plan
* Add mageforge:static:clean command implementation
Co-authored-by: dermatz <[email protected]>
* Update documentation for static:clean command
Co-authored-by: dermatz <[email protected]>
* Refactor: Extract theme name parsing logic to reduce duplication
Co-authored-by: dermatz <[email protected]>
* Remove invalid shortcode from README for static:clean command
Co-authored-by: dermatz <[email protected]>
* Add cleaning of var/page_cache, var/tmp and generated directories
Co-authored-by: dermatz <[email protected]>
* Fix cleanGenerated to track successful deletions properly
Co-authored-by: dermatz <[email protected]>
* ✨ feat: enhance CleanCommand with multi-theme support and dry-run option
* ✨ feat: add dry-run option and aliases for static clean command
* ✨ feat: add mageforge:static:clean command and multi-theme support
* Update docs/commands.md
Co-authored-by: Copilot <[email protected]>
* Update CHANGELOG.md
Co-authored-by: Copilot <[email protected]>
* Update src/Console/Command/Static/CleanCommand.php
Co-authored-by: Copilot <[email protected]>
* Update README.md
Co-authored-by: Copilot <[email protected]>
* Update .github/workflows/magento-compatibility.yml
Co-authored-by: Copilot <[email protected]>
* Update .github/workflows/magento-compatibility.yml
Co-authored-by: Copilot <[email protected]>
* Update src/Console/Command/Static/CleanCommand.php
Co-authored-by: Copilot <[email protected]>
* Update src/Console/Command/Static/CleanCommand.php
Co-authored-by: Copilot <[email protected]>
* Update docs/commands.md
Co-authored-by: Copilot <[email protected]>
* Update src/Console/Command/Static/CleanCommand.php
Co-authored-by: Copilot <[email protected]>
* Fix getCachedEnvironmentVariables to use class-level static variable
Co-authored-by: dermatz <[email protected]>
* 🔧 fix: correct alias for MageForge Static Clean command
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: dermatz <[email protected]>
Co-authored-by: Mathias Elle <[email protected]>
Co-authored-by: Mathias Elle <[email protected]>
Co-authored-by: Copilot <[email protected]>1 parent 7517e5c commit bbd02a9
File tree
6 files changed
+941
-2
lines changed- .github/workflows
- docs
- src
- Console/Command/Static
- etc
6 files changed
+941
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
137 | 146 | | |
138 | 147 | | |
139 | 148 | | |
| |||
255 | 264 | | |
256 | 265 | | |
257 | 266 | | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
258 | 274 | | |
259 | 275 | | |
260 | 276 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
9 | 23 | | |
10 | 24 | | |
11 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
89 | 123 | | |
90 | 124 | | |
91 | 125 | | |
| |||
111 | 145 | | |
112 | 146 | | |
113 | 147 | | |
114 | | - | |
| 148 | + | |
115 | 149 | | |
116 | 150 | | |
117 | 151 | | |
| |||
0 commit comments