@anvil-works/anvil-cli 0.5.4 → 0.5.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anvil-works/anvil-cli",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "description": "CLI tool for developing Anvil apps locally",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -30,4 +30,10 @@ powershell -NoProfile -ExecutionPolicy Bypass -File "%SCRIPT_PATH%"
30
30
  set "EXIT_CODE=%ERRORLEVEL%"
31
31
 
32
32
  del /q "%SCRIPT_PATH%" >nul 2>&1
33
+
34
+ if "%EXIT_CODE%"=="0" (
35
+ echo.
36
+ echo Next steps: run 'anvil configure' or 'anvil checkout'
37
+ )
38
+
33
39
  exit /b %EXIT_CODE%
@@ -183,7 +183,7 @@ function Main {
183
183
 
184
184
  Write-Info ''
185
185
  Write-Info "anvil-cli installed successfully (v$version)"
186
- Write-Info "Next step: run 'anvil configure'"
186
+ Write-Info "Next steps: run 'anvil configure' or 'anvil checkout'"
187
187
  Write-Info "If your current terminal cannot find 'anvil', start a new terminal session."
188
188
  }
189
189
 
@@ -153,7 +153,7 @@ main() {
153
153
 
154
154
  log ""
155
155
  log "anvil-cli installed successfully${version:+ (v$version)}"
156
- log "Next step: run 'anvil configure'"
156
+ log "Next steps: run 'anvil configure' or 'anvil checkout'"
157
157
  log "If your current shell cannot find 'anvil', open a new terminal session."
158
158
  }
159
159