# nsomar/Guaka

The smartest and most beautiful (POSIX compliant) Command line framework for Swift 🤖

Repository: https://github.com/nsomar/Guaka
Canonical: https://ross.abutalabs.com/products/guaka
Language: Swift
License: MIT
License Family: permissive
Topics: swift, command-line, framework, generator, cli
Last push: 2019-10-07T09:08:51+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3594, "days_push": 2522, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1149, forks 29 (observed 2026-08-28T04:03:46.300803+00:00)

## What it is
Guaka is a Swift framework for building POSIX-compliant command-line applications, inspired by Go's Cobra package. It also ships a generator CLI to bootstrap new Guaka-based projects quickly.

## Use cases
- build a CLI app in Swift
- parse command-line flags and subcommands
- generate a Swift CLI project scaffold
- create Docker-style CLI tools with subcommands
- handle short and long POSIX flags in Swift

## When to choose
- you are writing a command-line tool in Swift
- you want a Cobra-like API with POSIX-compliant flag parsing
- you need a lightweight, statically linkable CLI framework

## When to avoid
- you need a framework with recent active development and releases
- you are not using Swift
- you need Windows support

## Facets
- artifact type: framework
- maturity: maintenance
- function: cli, developer-tools
- domain: developer-tools, cross-platform
- platform: cli
- tags: posix-compliant, cobra-inspired, swift-package-manager, cli-generator, command-line, macos, linux, swift

## Member repositories
- nsomar/Guaka (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:46.300803+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:33:46.422641+00:00, confidence not recorded.
  - readme: https://github.com/nsomar/Guaka (fetched 2026-08-28T04:03:46.300803+00:00, sha 13a642f4295d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
