Skip to main content
HermisLabs
Back to projects
PRJ-01CLI & DevToolsActive BlueprintReplaceable Sample Entry

Hermis CLI Kit

Composable TypeScript primitives for fast, deterministic developer CLIs.

Modern engineering teams ship dozens of internal scripts and open-source CLIs that accumulate fragile flag parsing and inconsistent error handling. Hermis CLI Kit provides typed command graphs, dual machine/human output renderers, and predictable exit semantics in a minimal footprint.

Jump to interactive preview
01 // Problem Statement

Internal developer tooling and OSS CLIs frequently mix stdout logs with structured data, lack composable validation, and break CI automation when human formatting leaks into piped commands.

02 // Architectural Approach

Built around a strict separation between command definition, input schema validation, and pluggable output sinks. Commands return typed result payloads while the runtime selects clean TTY rendering or newline-delimited JSON automatically.

03 // Interactive Preview

Explore how Hermis CLI Kit behaves

Client Sandbox
hermis init --template ts-cli SIMULATED OUTPUT
hermis-cli-kit v0.1 (blueprint preview)
────────────────────────────────────────
✓ Resolved template: ts-cli (ESM + strict types)
✓ Generated command graph: src/commands/index.ts
✓ Added dual TTY / JSON sink configuration
Done in 14ms. Exit code: 0
04 // Key Capabilities
  • End-to-end TypeScript inference from flag schemas to command handlers
  • Automatic TTY detection with deterministic `--json` and `--quiet` modes
  • Standardized POSIX exit code conventions and actionable error diagnostics
  • Sub-20ms cold start with zero heavy runtime dependencies
05 // Open Contribution Areas

Engineers interested in shaping or co-maintaining Hermis CLI Kit can jump into these targeted workstreams:

  • Shell completion generators (zsh, bash, fish, PowerShell)
  • Interactive prompt primitives with accessible keyboard navigation
  • Cross-platform signal handling and graceful shutdown tests