actx decode
actx decode
Section titled “actx decode”Decode a binary CTX-B (CTX Binary) file back into its original human-readable CTX syntax string.
actx decode [file]actx decode context.ctxbcat context.ctxb | actx decodeArguments
Section titled “Arguments”| Argument | Required | Description |
|---|---|---|
file | No | Path to a .ctxb binary file. If omitted, reads from stdin. |
Description
Section titled “Description”CTX-B is the binary-encoded wire format of CTX statements, designed for compact storage and fast IPC transport. This command reverses the encoding, printing the raw CTX string to stdout.
If no file argument is provided, the command reads binary data from stdin, allowing it to be piped from other tools.
Example
Section titled “Example”$ actx decode .context/objects/abc123.ctxb+m "project_status" #planning "Phase 23 complete"See Also
Section titled “See Also”- actx verify — verify signatures and CAS integrity
- actx query — execute a CTX query