The current public CLI is intentionally narrow. Supported commands:Documentation Index
Fetch the complete documentation index at: https://filepacks.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
show, import, registry, list, tag, baseline, unpack, and config.
Choose the right command
| If you want to… | Run |
|---|---|
| package a directory as one artifact | filepacks pack <input> --output <file> |
| read the artifact summary | filepacks inspect <file> |
| confirm the artifact is intact | filepacks verify <file> |
| see whether packaged files changed | filepacks compare <baseline> <candidate> |
Global help
Command behavior summary
| Command | What it does | Exit behavior |
|---|---|---|
pack | Create a deterministic .fpk artifact from a directory | 0 on success, 1 on usage or file errors |
inspect | Read artifact metadata from a .fpk file | 0 on success, 1 on usage or file errors |
verify | Check payload files against the manifest | 0 when valid, 1 when invalid or on usage/file errors |
compare | Structurally compare two artifacts | 0 when identical, 20 when different, 1 on usage/file errors |
Output style
The CLI uses line-oriented plain text output rather than JSON. That makes it easy to read in a terminal and easy to consume from shell scripts. Examples:packprintsinput=,output=,name=,digest=,files=,bytes=inspectprintspath=,name=,version=,digest=,files=,bytes=verifyprintsok=trueorok=falsecompareprintsok=, summary counts, and per-file change lines
Recommended flow
Most users start here:packthe output directory.inspectthe resulting artifact.verifyit before trusting or sharing it.compareit against a baseline when you care about repeated-run drift.
Core library mapping
The CLI is a conservative wrapper around@filepacks/core:
- CLI
pack->pack() - CLI
inspect->inspect() - CLI
verify->verify() - CLI
compare->compare()