BARGS
    Preparing search index...

    Changelog

    • add shell completion generation for bash, zsh, and fish (#32) (d651732)
    • show built-in options in help output (#33) (37c20e2)
    • default color theme changes for popular schemes (c6198d5)
    • The .command(name, cliBuilder, options?) overload has been removed. Users must migrate to the factory pattern as detailed in README.md.
    • docs: add custom mermaid diagram plugin for TypeDoc (9ef6cc6)
    • remove direct CliBuilder pattern for nested commands (88c0251)
    • throw when encountering a thenable in parse() (74ace9c)
    • resolve symlinks when auto-detecting version from package.json (5cab7f3)
    • auto-detect version from package.json when not provided (2ec0eb3)
    • help: properly delegate --help to nested command builders (f05c30a)
    • require Node.js v20+ (6aa61e3)
    • globals: merge globals instead of replacing when called multiple times (2aaa0a7)
    • add helper types for inferring parser values (24d145a)
    • nested: add factory pattern for nested commands with typed parent globals (#18) (c1514f9)
    • add automatic --no-<flag> support for boolean options (6dfa924)
    • add camelCaseValues transform for kebab-to-camel option keys (ed83b73)
    • alias bargs.create to bargs (or vice-versa) (d958763)
    • address PR review comments (aa94953)
    • add support for nested commands (subcommands) (85aa259)
    • types: export EnumArrayOption (5869e1e)
    • add enum array option type (bd797c9)
    • preserve Parser/Command interface properties in build (259646f)
    • none, additive only
    • The pipe() function has been removed from the public API.
    • Complete API redesign
    • add merge() combinator for combining parsers (7c2c1ca)
    • redesign API with fluent builder and combinator-style composition (d3688c8)
    • types: transforms must appear before handler in config object for TypeScript to infer transformed types in handler parameters
    • types: add TGlobalTransforms type parameter to CommandConfig (f91683a)
    • type inference issues; inference no longer reliant on property ordering (43cb4fb)
    • types: improve type inference for transforms and command handlers (4516aa6)
    • types: Handler arrays are no longer supported. Use transforms for middleware-like sequential processing instead.
    • bargs: execute transforms before handlers (06afa07)
    • opt: add transforms support to command builder (3d0f683)
    • parser: apply transforms in command parsing (cd2dcda)
    • parser: implement transform runner functions (f9d143a)
    • types: add transform type definitions (da7fcb2)
    • types: add transforms support to BargsConfig (d099aac)
    • types: add transforms support to CommandConfig (843c6bf)
    • types: remove handler array support in favor of transforms (2b3a6bd)
    • rename package to @boneskull/bargs (3333794)
    • add ANSI color utilities (2461dd0)
    • add automatic version detection from package.json (095e3b9)
    • add command parsing support (de8d15c)
    • add core parser for simple CLI (8539504)
    • add core type definitions (7e869e6)
    • add enum validation and array option support (4a5f7d8)
    • add enumPos helper, sync/async API, and positional validations (dbbb0d2)
    • add epilog option with terminal hyperlink support (ea876aa)
    • add error formatting with colorful output (30abaa1)
    • add help generator without Zod introspection (0ce72c8)
    • add help text generation with grouping and colors (f430cc4)
    • add main bargs() entry point with help and version support (2a8647c)
    • add main bargs() entry point without Zod (4bf84ad)
    • add named positionals for help text display (7068779)
    • add namespaced opt builder with composition (ffa628d)
    • add new parseSimple without Zod (e68907e)
    • add new Zod-free type definitions (25ecf8f)
    • add opt.positionals() for positional schema composition (ce5f5f8)
    • add parseCommands for command-based CLIs (f551c85)
    • add schema introspection for parseArgs config extraction (8d5b7e7)
    • bargs: add options parameter to sync bargs function (1644fd3)
    • bargs: add second parameter for runtime options (53f2ddf)
    • exports: add theme utilities to public API (f6cf728)
    • help: add positional argument display with theming (2711376)
    • help: add theme support to help generators (21d024c)
    • theme: add createStyler function (8926fba)
    • theme: add defaultText and make Theme properties optional (191bee2)
    • theme: add theme types and built-in themes (b6044bb)
    • types: add BargsOptions type for runtime options (ec6dfad)
    • help: fix named positionals in POSITIONALS section (5fe6b26)
    • resolve ESLint and linting errors (96fd12f)
    • resolve test failures from environment and removed exports (8f4a5ce)
    • use bargsAsync for theme option tests after sync/async split (c9b38c3)