# bloomberg/stricli

Build complex CLIs with type safety and no dependencies

Repository: https://github.com/bloomberg/stricli
Canonical: https://ross.abutalabs.com/products/stricli
Homepage: https://bloomberg.github.io/stricli
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: cli, javascript, typescript
Last push: 2026-08-25T21:39:38+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 93, longevity 50
- inputs: {"age_days": 709, "days_push": 8, "days_rel": 48, "gap_med": 21, "n_releases_24m": 16}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1087, forks 27 (observed 2026-08-28T04:03:32.323760+00:00)

## What it is
Stricli is a TypeScript framework from Bloomberg for building complex command-line applications with full type safety and zero runtime dependencies. It supports dual ESM/CJS publishing, code splitting, dependency injection, and dynamic shell autocomplete.

## Use cases
- build a type-safe CLI in TypeScript
- create a command line tool with zero dependencies
- add shell autocomplete to my CLI
- structure a multi-command CLI app
- generate a new CLI project scaffold
- unit test CLI commands with dependency injection

## When to choose
- you want end-to-end TypeScript types for flags and positional args
- you need a dependency-free CLI parser
- you want built-in dynamic shell autocomplete
- you prefer code splitting and lazy-loaded command implementations

## When to avoid
- you need a quick one-off script where a simpler parser suffices
- you rely on plugin ecosystems of larger CLI frameworks like oclif or commander
- your project is not in the JavaScript/TypeScript ecosystem

## Facets
- artifact type: framework
- maturity: active
- function: cli, developer-tools
- domain: developer-tools, web-development
- platform: cli, cross-platform
- tags: typescript, zero-dependencies, shell-autocomplete, esm, type-safety, command-line, nodejs

## Member repositories
- bloomberg/stricli (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:32.323760+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:49:26.594372+00:00, confidence not recorded.
  - readme: https://github.com/bloomberg/stricli (fetched 2026-08-28T04:03:32.323760+00:00, sha d861a94b63a1)
  - homepage: https://bloomberg.github.io/stricli (fetched 2026-08-29T12:52:02.534443+00:00, sha 389481282872)
  - registry_npm: https://registry.npmjs.org/stricli (fetched 2026-08-29T12:52:02.543380+00:00, sha 26885f59ee22)
- Data as of 2026-08-30T08:39:29.467469+00:00.
