qmetrics.net

CAC

Minimal JavaScript framework for command-line programs

CAC (Command And Conquer) is a JavaScript library for building CLI apps with few APIs, subcommands, help text, and option validation.

Overview

CAC is a JavaScript library for creating command-line applications. It is marketed as lightweight with no dependencies beyond a single file, and written in TypeScript.

The core API centers on cli.option, cli.version, cli.help, and cli.parse for simple programs. It supports default commands, git-style subcommands, required option and argument checks, variadic arguments, dot-nested options, generated help output, and global error handling hooks.

Command-level options are validated when a command runs, with errors for unknown flags unless allowUnknownOptions is set. Kebab-case flags map to camelCase property names in parsed options. Bracket syntax in command names marks required or optional arguments, and negated options can pair with --no- flags for boolean settings.

The FAQ notes similarity to Commander.js but highlights dot-nested options such as --env.API_SECRET and the ability to allow unknown options on commands when configured.

Key features

  • Single-file CLI framework
  • Global and per-command options
  • Git-style subcommands
  • Automated help and version output
  • Variadic and dot-nested options
  • Option validation with allowUnknownOptions
  • TypeScript-authored API
  • Default command when none matches

Use cases

  • Node.js CLI tooling
  • Subcommand-based developer utilities
  • Parsed argv with help and version flags

Tags

Similar software

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

★ 311.7k⟳ 8 days agoMIT
Frameworks & PlatformsDesktop/CLI app

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

★ 253k⟳ 2 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Flutter

Open-source UI framework for multi-platform apps from one codebase

Flutter is an SDK for building user experiences for mobile, web, and desktop from a single codebase. It uses the Dart language and compiles to native machine code or web targets.

★ 181.5k⟳ todayBSD-3-Clause
Open Source Alternative to:Ionic Enterprise

Bootstrap

Responsive HTML, CSS, and JavaScript front-end toolkit

Bootstrap supplies CSS, JavaScript, and Sass-based styles for building responsive, mobile-first sites. It ships prebuilt grid layouts, UI components, and optional JavaScript plugins.

★ 175.1k⟳ 2 days agoMIT

Langflow

Visual low-code builder for AI agents and workflows

Langflow is a visual builder for AI agents and workflows. Flows can be customized in Python and deployed as an API or as an MCP server, with support for major LLMs and vector databases.

★ 157k⟳ todayMIT
Open Source Alternative to:Relevance AIVoiceflow

LangChain

Framework for agents and LLM-powered applications

LangChain helps developers chain interoperable components and integrations to build agents and LLM-powered applications. It offers a standard interface for models, embeddings, vector stores, and related pieces.

★ 150.1k⟳ 2 days agoMIT