syntax revamp

This commit is contained in:
2026-05-24 12:32:57 -07:00
parent 6c0a1b4415
commit 5041d9fbb9
20 changed files with 1512 additions and 1060 deletions
+3 -3
View File
@@ -15,7 +15,7 @@ The SCP plugin mirrors the FTP walkthrough, but on top of SSH:
- plain `@N` on a folder drills into that directory
- plain `@N` on a file runs `download-file -plugin scp -instance <name> -url ...`
- `@N | add-file -instance ...` downloads first, then ingests the local temp file
- `add-file -plugin scp -instance <name> -path ...` uploads a local file to the configured remote path
- `add-file <local-file> -plugin scp -instance <name>` uploads a local file to the configured remote path
## Example config
@@ -102,7 +102,7 @@ Why this works:
## Upload flow
```powershell
add-file -plugin scp -instance archive -path C:\Media\report.pdf
add-file C:\Media\report.pdf -plugin scp -instance archive
```
## Implementation notes
@@ -120,5 +120,5 @@ search-file -plugin scp -instance work "path:/srv/files depth:2 *.zip"
@1
@1 | download-file -path C:\Downloads
@1 | add-file -instance tutorial
add-file -plugin scp -instance archive -path C:\Media\report.pdf
add-file C:\Media\report.pdf -plugin scp -instance archive
```