@usecolf/cli
v1.0.1
Published
COLF Developer CLI tool for inspecting, benchmarking, activating, and verifying COLF workloads
Readme
@usecolf/cli
COLF Developer CLI tool (
colf) for inspecting, benchmarking, activating licenses, and validating COLF API workloads.
Overview
@usecolf/cli is the command-line interface for the COLF ecosystem. It provides developer tooling to inspect .colf payloads, benchmark compression against raw JSON, verify signatures, and manage offline developer license keys.
Features
- Payload Inspection (
colf inspect): Parse and pretty-print COLF documents, showing column structures and savings. - Benchmark Suite (
colf bench): Compare JSON vs COLF byte size and decode times for datasets. - License Management (
colf activate): Verify and store local developer keys.
Installation
npm install -g @usecolf/cli
# or run via npx
npx @usecolf/cli --helpQuick Start Commands
# Benchmark JSON file against COLF format
npx colf bench data.json
# Inspect a COLF encoded payload
npx colf inspect payload.colf.json
# Verify offline license key
npx colf verify --key colf_live_...License
MIT © COLF Team
