internal/

directory
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2026 License: MIT

Directories

Path Synopsis
Package analyzer implements conga-lint, a static analysis pass that enforces CONGA CLI struct contracts at lint time.
Package analyzer implements conga-lint, a static analysis pass that enforces CONGA CLI struct contracts at lint time.
Package appname derives the invoking binary's display name from os.Args[0].
Package appname derives the invoking binary's display name from os.Args[0].
Package assertx provides testing assertion extensions augmenting github.com/alecthomas/assert/v2.
Package assertx provides testing assertion extensions augmenting github.com/alecthomas/assert/v2.
Package casing converts identifier strings between common casing styles.
Package casing converts identifier strings between common casing styles.
Package coerce converts raw CLI values to Go types using built-in and registered parsers.
Package coerce converts raw CLI values to Go types using built-in and registered parsers.
Package completion provides shell script generation adapters for CONGA command line tools.
Package completion provides shell script generation adapters for CONGA command line tools.
bash
Package bash renders completion results in bash's line-oriented framing and generates the bash registration snippet for the wire protocol (docs/completion-wire-protocol.md).
Package bash renders completion results in bash's line-oriented framing and generates the bash registration snippet for the wire protocol (docs/completion-wire-protocol.md).
elvish
Package elvish renders completion results as a single-line JSON object for elvish's edit:complex-candidate consumption and generates the elvish registration snippet for the wire protocol (docs/completion-wire-protocol.md).
Package elvish renders completion results as a single-line JSON object for elvish's edit:complex-candidate consumption and generates the elvish registration snippet for the wire protocol (docs/completion-wire-protocol.md).
export
Package export renders completion results as single-line JSON: the machine-readable test surface and unknown-shell fallback framing of the wire protocol (docs/completion-wire-protocol.md).
Package export renders completion results as single-line JSON: the machine-readable test surface and unknown-shell fallback framing of the wire protocol (docs/completion-wire-protocol.md).
fish
Package fish renders completion results in fish's native completion feed and generates the fish registration snippet for the wire protocol (docs/completion-wire-protocol.md).
Package fish renders completion results in fish's native completion feed and generates the fish registration snippet for the wire protocol (docs/completion-wire-protocol.md).
lex
Package lex implements a clean-room lexer for bash COMP_LINE command lines (docs/completion-wire-protocol.md).
Package lex implements a clean-room lexer for bash COMP_LINE command lines (docs/completion-wire-protocol.md).
nushell
Package nushell renders completion results as a bare JSON array of records for nushell's external completer and generates the nushell registration snippet for the wire protocol (docs/completion-wire-protocol.md).
Package nushell renders completion results as a bare JSON array of records for nushell's external completer and generates the nushell registration snippet for the wire protocol (docs/completion-wire-protocol.md).
powershell
Package powershell renders completion results as the JSON payload consumed by the generated registration snippet and generates the Register-ArgumentCompleter snippets for the wire protocol (docs/completion-wire-protocol.md).
Package powershell renders completion results as the JSON payload consumed by the generated registration snippet and generates the Register-ArgumentCompleter snippets for the wire protocol (docs/completion-wire-protocol.md).
wire
Package wire defines the shell-agnostic completion wire vocabulary shared by the native completion drivers: candidates, directives, per-shell quoting helpers, the RFC 8259 string escaper, and the CONGA_* sideband environment readers.
Package wire defines the shell-agnostic completion wire vocabulary shared by the native completion drivers: candidates, directives, per-shell quoting helpers, the RFC 8259 string escaper, and the CONGA_* sideband environment readers.
zsh
Package zsh renders completion results as the record stream consumed by the generated registration snippet and generates the #compdef registration snippets for the wire protocol (docs/completion-wire-protocol.md).
Package zsh renders completion results as the record stream consumed by the generated registration snippet and generates the #compdef registration snippets for the wire protocol (docs/completion-wire-protocol.md).
Package cond provides lightweight, generic conditional assignment and fallback utilities designed to eliminate temporary variable boilerplate and improve code readability.
Package cond provides lightweight, generic conditional assignment and fallback utilities designed to eliminate temporary variable boilerplate and improve code readability.
Package configdata holds the resolved configuration tier consumed by the value binder: scalar values and per-key map values keyed by bindable config keys.
Package configdata holds the resolved configuration tier consumed by the value binder: scalar values and per-key map values keyed by bindable config keys.
Package configengine implements the configuration-file resolution engine shared by the root conga package: decoder registration, search-tier probing, strict content validation, and the per-invocation Resolver that turns those pieces into loaded files.
Package configengine implements the configuration-file resolution engine shared by the root conga package: decoder registration, search-tier probing, strict content validation, and the per-invocation Resolver that turns those pieces into loaded files.
Package container defines the source and classification metadata used by CONGA's built-in command-line containers.
Package container defines the source and classification metadata used by CONGA's built-in command-line containers.
Package dotenv loads environment variables from .env files.
Package dotenv loads environment variables from .env files.
Package filex provides shared file and stream utilities for size-limited reads and DoS protection limits across CONGA packages.
Package filex provides shared file and stream utilities for size-limited reads and DoS protection limits across CONGA packages.
Package help renders command help, usage, version, and completion instructions.
Package help renders command help, usage, version, and completion instructions.
Package jsonwire provides the minimal JSON string encoding used by CONGA's machine-readable outputs (shell completion and version reporting) without pulling in encoding/json.
Package jsonwire provides the minimal JSON string encoding used by CONGA's machine-readable outputs (shell completion and version reporting) without pulling in encoding/json.
Package levenshtein provides edit distance calculation and typo suggestions for commands and flags.
Package levenshtein provides edit distance calculation and typo suggestions for commands and flags.
Package pathx expands environment variables and tilde prefixes in paths.
Package pathx expands environment variables and tilde prefixes in paths.
Package scanx provides line-scanning primitives for whitespace-trimmed, comment-aware readers.
Package scanx provides line-scanning primitives for whitespace-trimmed, comment-aware readers.
Package sentinel centralizes the error sentinels owned by opt-in subsystems (configuration, .env, shell completion).
Package sentinel centralizes the error sentinels owned by opt-in subsystems (configuration, .env, shell completion).
Package signals provides the platform signal table shared by the signal completion predictors and the syscall.Signal type parser.
Package signals provides the platform signal table shared by the signal completion predictors and the syscall.Signal type parser.
Package slicex provides generic functional utilities for slices.
Package slicex provides generic functional utilities for slices.
Package spec builds and validates command schemas from application structs.
Package spec builds and validates command schemas from application structs.
Package stringx provides string formatting and stringification primitives for CLI values.
Package stringx provides string formatting and stringification primitives for CLI values.
Package style provides the terminal styling vocabulary for CONGA completion: color and attribute tokens, their ECMA-48 SGR translations, file extension styling, and the default completion palette.
Package style provides the terminal styling vocabulary for CONGA completion: color and attribute tokens, their ECMA-48 SGR translations, file extension styling, and the default completion palette.
Package tokenizer splits command-line input into typed tokens and provides scanners for traversing them.
Package tokenizer splits command-line input into typed tokens and provides scanners for traversing them.
Package why assembles and renders the neutral value-provenance report produced by the --why builtin: one row per flag and configuration-file container with its display value, the source tier, and the env/config channels that can set the value.
Package why assembles and renders the neutral value-provenance report produced by the --why builtin: one row per flag and configuration-file container with its display value, the source tier, and the env/config channels that can set the value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL