Ross ROSS = Recommend OSS · open-source software intelligence for agents

gflags/gflags

The gflags package contains a C++ library that implements commandline flags processing. It includes built-in support for standard types such as string and the ability to define flags in the source file in which they are used. Online documentation available at: observed · 2026-08-28

github.com/gflags/gflags · homepage · C++ · BSD-3-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

84/100

  • Activity 94
  • Release rhythm 62
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 228
  • age_days: 4883
  • days_rel: 42
  • days_push: 39
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

3025 stars · 854 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

gflags is a C++ library for commandline flags processing, originally developed by Google. It supports built-in standard types and allows flags to be defined in the source file where they are used rather than centrally in main().

Use cases

  • parse commandline flags in a C++ application
  • define flags next to the code that uses them
  • validate flag values with sanity checks
  • replace getopt with a more flexible flag library
  • manage configuration flags across a large C++ codebase

When to choose

  • you need distributed flag definitions across source files in C++
  • you want a mature, widely-used commandline flag library with CMake/Bazel support
  • your project already uses gflags and only needs maintenance releases

When to avoid

  • you are starting a new project using Abseil (prefer Abseil's flags library)
  • you need actively developed new features
  • you are not writing C++

Facets

library · maturity maintenance

cli parser developer-tools developer-tools cross-platform cpp cross-platform windows commandline-flags google cmake bazel configuration command-line linux macos

2 sources

Member repositories

RepositoryRoleHealth v2
gflags/gflagsmain84

For agents

markdown · JSON · MCP: product_card(name="gflags/gflags")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem