docs: Update 4 files
All checks were successful
Build-Test-Publish / build (linux/amd64) (push) Successful in 28s
Build-Test-Publish / build (linux/arm64) (push) Successful in 1m10s

This commit is contained in:
j
2025-12-28 11:26:24 +13:00
parent 68124f94fc
commit 754b4de29b
4 changed files with 224 additions and 123 deletions

View File

@@ -671,10 +671,10 @@ echo "Installation of ${CONTAINER_NAME} complete"
Dropshell includes a comprehensive template validation command that checks for common issues:
```bash
dropshell validate <template-name>
dropshell validate-template <template-name>
```
Aliases: `ds lint`, `ds check-template`
Aliases: `ds validate`, `ds lint`
### What Validate Checks
@@ -694,7 +694,7 @@ Aliases: `ds lint`, `ds check-template`
### Example Output
```
$ ds validate my-template
$ ds validate-template my-template
=== Structure Validation ===
✓ Template structure is valid
@@ -718,7 +718,7 @@ Validation Summary: Template 'my-template' has 2 warning(s)
The `install` command automatically runs basic syntax checking (`bash -n`) on all template scripts before deploying. If any script has a syntax error, the install fails with a clear message:
```
[ERR] Template shell scripts have syntax errors. Run 'ds validate my-template' for details.
[ERR] Template shell scripts have syntax errors. Run 'ds validate-template my-template' for details.
```
### Suppressing Shellcheck Warnings