# daniele77/cli

A library for interactive command line interfaces in modern C++

Repository: https://github.com/daniele77/cli
Canonical: https://ross.abutalabs.com/products/daniele77-cli
Language: C++
License: BSL-1.0
License Family: other
Topics: cli, header-only, interactive, parser, ui-library
Last push: 2025-12-22T18:52:17+00:00

## Health v2 (maintenance only)
Score: 49/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 58, release rhythm 8, longevity 100
- inputs: {"age_days": 3687, "days_push": 254, "days_rel": 677, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1359, forks 152 (observed 2026-08-28T04:04:29.743502+00:00)

## What it is
A cross-platform, header-only C++14 library for building interactive command line interfaces with menus, submenus, history, and TAB autocompletion in a Cisco-style shell. It supports local and remote (telnet via asio) sessions with an async interface and colored output.

## Use cases
- build an interactive shell for an embedded or network device
- add a Cisco-style command line menu to a C++ application
- expose a telnet remote console for managing a service
- implement command autocompletion and persistent history in a CLI
- create nested menus and submenus for a terminal application

## When to choose
- you need an interactive, menu-driven command line in modern C++
- you want a header-only dependency with no build complexity
- you need remote telnet sessions with async I/O
- you want cross-platform support for Linux and Windows

## When to avoid
- you only need simple argument parsing for one-shot commands (use a CLI arg parser instead)
- you need a full TUI with windows and widgets (use ncurses or FTXUI)
- your project is not C++ or predates C++14

## Facets
- artifact type: library
- maturity: active
- function: cli, parser, terminal-ui
- domain: developer-tools, cross-platform
- platform: windows, cpp, cross-platform
- tags: header-only, interactive-cli, cisco-style, telnet, autocompletion, c++14, command-line, linux, macos

## Member repositories
- daniele77/cli (main) score 49

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:29.743502+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-30T04:41:42.025819+00:00, confidence not recorded.
  - readme: https://github.com/daniele77/cli (fetched 2026-08-28T04:04:29.743502+00:00, sha c072be360ce4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
