Skip to content

Commit 447f73f

Browse files
kvzclaude
andcommitted
docs: document --endpoint and --single-assembly CLI options
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f22b4a1 commit 447f73f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ You may also want to refer to [GitHub releases](https://github.com/transloadit/n
88
- Add `signal` and `onPoll` options to `awaitAssemblyCompletion()` for cancellation and early termination (useful for custom progress reporting or superseding assemblies in watch mode)
99
- Integrate transloadify CLI into the SDK, providing `assemblies`, `templates`, `bills`, and `assembly-notifications` commands
1010
- Add `--log-level (-l)` CLI option using syslog severity levels (err=3, warn=4, notice=5, info=6, debug=7, trace=8)
11+
- Add `--endpoint` CLI option for custom API endpoint (also reads `TRANSLOADIT_ENDPOINT` env var)
12+
- Add `--single-assembly` flag to `assemblies create` for passing multiple input files to a single assembly
1113
- Apply stricter biome lint rules (noExplicitAny, useAwait, noForEach, noNonNullAssertion)
1214

1315
## v4.0.7

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ npx transloadit assemblies create --template YOUR_TEMPLATE_ID --input images/ --
7676

7777
# Process recursively with file watching
7878
npx transloadit assemblies create --template YOUR_TEMPLATE_ID --input images/ --output thumbs/ --recursive --watch
79+
80+
# Process multiple files in a single assembly
81+
npx transloadit assemblies create --template YOUR_TEMPLATE_ID --input file1.jpg --input file2.jpg --output results/ --single-assembly
7982
```
8083

8184
### Managing Assemblies
@@ -168,8 +171,13 @@ All commands support these common options:
168171

169172
- `--json, -j` - Output results as JSON (useful for scripting)
170173
- `--log-level, -l` - Set log verbosity level by name or number (default: notice)
174+
- `--endpoint` - Custom API endpoint URL (or set `TRANSLOADIT_ENDPOINT` env var)
171175
- `--help, -h` - Show help for a command
172176

177+
The `assemblies create` command additionally supports:
178+
179+
- `--single-assembly` - Pass all input files to a single assembly instead of one assembly per file
180+
173181
#### Log Levels
174182

175183
The CLI uses [syslog severity levels](https://en.wikipedia.org/wiki/Syslog#Severity_level). Lower = more severe, higher = more verbose:

0 commit comments

Comments
 (0)