acadex-cli 1.2.0 โ 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/acadex.ps1 +17 -17
- package/package.json +1 -1
package/acadex.ps1
CHANGED
|
@@ -132,16 +132,16 @@ function Show-Menu {
|
|
|
132
132
|
Write-Host ""
|
|
133
133
|
Write-Host "Main Menu:" -ForegroundColor Yellow
|
|
134
134
|
Write-Host ""
|
|
135
|
-
Write-Host " 1)
|
|
136
|
-
Write-Host " 2)
|
|
137
|
-
Write-Host " 3)
|
|
138
|
-
Write-Host " 4)
|
|
139
|
-
Write-Host " 5)
|
|
140
|
-
Write-Host " 6)
|
|
141
|
-
Write-Host " 7)
|
|
142
|
-
Write-Host " 8)
|
|
135
|
+
Write-Host " 1) [+] Setup & Installation" -ForegroundColor Green
|
|
136
|
+
Write-Host " 2) [>] Development" -ForegroundColor Green
|
|
137
|
+
Write-Host " 3) [*] Testing" -ForegroundColor Green
|
|
138
|
+
Write-Host " 4) [#] Database" -ForegroundColor Green
|
|
139
|
+
Write-Host " 5) [~] Maintenance" -ForegroundColor Green
|
|
140
|
+
Write-Host " 6) [@] Code Quality" -ForegroundColor Green
|
|
141
|
+
Write-Host " 7) [=] Dependencies" -ForegroundColor Green
|
|
142
|
+
Write-Host " 8) [!] Other Tools" -ForegroundColor Green
|
|
143
143
|
Write-Host ""
|
|
144
|
-
Write-Host " 0)
|
|
144
|
+
Write-Host " 0) [X] Exit" -ForegroundColor Red
|
|
145
145
|
Write-Host ""
|
|
146
146
|
Write-Host "โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ" -ForegroundColor Cyan
|
|
147
147
|
$category = Read-Host "Select category [0-8]"
|
|
@@ -165,7 +165,7 @@ function Show-SetupMenu {
|
|
|
165
165
|
while ($true) {
|
|
166
166
|
Clear-Host
|
|
167
167
|
Write-Host "===========================================================" -ForegroundColor Cyan
|
|
168
|
-
Write-Host "
|
|
168
|
+
Write-Host " [+] Setup & Installation " -ForegroundColor Green
|
|
169
169
|
Write-Host "===========================================================" -ForegroundColor Cyan
|
|
170
170
|
Write-Host ""
|
|
171
171
|
Write-Host " 1) setup - First-time full installation" -ForegroundColor Green
|
|
@@ -193,7 +193,7 @@ function Show-DevelopmentMenu {
|
|
|
193
193
|
while ($true) {
|
|
194
194
|
Clear-Host
|
|
195
195
|
Write-Host "===========================================================" -ForegroundColor Cyan
|
|
196
|
-
Write-Host "
|
|
196
|
+
Write-Host " [>] Development " -ForegroundColor Green
|
|
197
197
|
Write-Host "===========================================================" -ForegroundColor Cyan
|
|
198
198
|
Write-Host ""
|
|
199
199
|
Write-Host " 1) serve - Start production servers" -ForegroundColor Green
|
|
@@ -225,7 +225,7 @@ function Show-TestingMenu {
|
|
|
225
225
|
while ($true) {
|
|
226
226
|
Clear-Host
|
|
227
227
|
Write-Host "===========================================================" -ForegroundColor Cyan
|
|
228
|
-
Write-Host "
|
|
228
|
+
Write-Host " [*] Testing " -ForegroundColor Green
|
|
229
229
|
Write-Host "===========================================================" -ForegroundColor Cyan
|
|
230
230
|
Write-Host ""
|
|
231
231
|
Write-Host " 1) test - Run PHPUnit tests" -ForegroundColor Green
|
|
@@ -249,7 +249,7 @@ function Show-DatabaseMenu {
|
|
|
249
249
|
while ($true) {
|
|
250
250
|
Clear-Host
|
|
251
251
|
Write-Host "===========================================================" -ForegroundColor Cyan
|
|
252
|
-
Write-Host "
|
|
252
|
+
Write-Host " [#] Database " -ForegroundColor Green
|
|
253
253
|
Write-Host "===========================================================" -ForegroundColor Cyan
|
|
254
254
|
Write-Host ""
|
|
255
255
|
Write-Host " 1) migrate - Run database migrations" -ForegroundColor Green
|
|
@@ -277,7 +277,7 @@ function Show-MaintenanceMenu {
|
|
|
277
277
|
while ($true) {
|
|
278
278
|
Clear-Host
|
|
279
279
|
Write-Host "===========================================================" -ForegroundColor Cyan
|
|
280
|
-
Write-Host "
|
|
280
|
+
Write-Host " [~] Maintenance " -ForegroundColor Green
|
|
281
281
|
Write-Host "===========================================================" -ForegroundColor Cyan
|
|
282
282
|
Write-Host ""
|
|
283
283
|
Write-Host " 1) cache:clear - Clear all caches" -ForegroundColor Green
|
|
@@ -303,7 +303,7 @@ function Show-CodeQualityMenu {
|
|
|
303
303
|
while ($true) {
|
|
304
304
|
Clear-Host
|
|
305
305
|
Write-Host "===========================================================" -ForegroundColor Cyan
|
|
306
|
-
Write-Host "
|
|
306
|
+
Write-Host " [@] Code Quality " -ForegroundColor Green
|
|
307
307
|
Write-Host "===========================================================" -ForegroundColor Cyan
|
|
308
308
|
Write-Host ""
|
|
309
309
|
Write-Host " 1) analyze - Run PHPStan static analysis" -ForegroundColor Green
|
|
@@ -327,7 +327,7 @@ function Show-DependenciesMenu {
|
|
|
327
327
|
while ($true) {
|
|
328
328
|
Clear-Host
|
|
329
329
|
Write-Host "===========================================================" -ForegroundColor Cyan
|
|
330
|
-
Write-Host "
|
|
330
|
+
Write-Host " [=] Dependencies " -ForegroundColor Green
|
|
331
331
|
Write-Host "===========================================================" -ForegroundColor Cyan
|
|
332
332
|
Write-Host ""
|
|
333
333
|
Write-Host " 1) install - Install all dependencies" -ForegroundColor Green
|
|
@@ -351,7 +351,7 @@ function Show-OtherMenu {
|
|
|
351
351
|
while ($true) {
|
|
352
352
|
Clear-Host
|
|
353
353
|
Write-Host "===========================================================" -ForegroundColor Cyan
|
|
354
|
-
Write-Host "
|
|
354
|
+
Write-Host " [!] Other Tools " -ForegroundColor Green
|
|
355
355
|
Write-Host "===========================================================" -ForegroundColor Cyan
|
|
356
356
|
Write-Host ""
|
|
357
357
|
Write-Host " 1) routes - List all routes" -ForegroundColor Green
|