Skip to content

Conversation

@hotsyk
Copy link
Owner

@hotsyk hotsyk commented Dec 18, 2025

0.4.0

New features:

  • Benchmark suite - Performance comparison with other CLI libraries
    python benchmark/run_benchmarks.py --table
  • Compares kliamka vs argparse, click, and typer
  • Markdown table output for easy documentation
  • Auto-installs pytest-benchmark dependency

0.3.0

New features:

  • Positional arguments support - Arguments without -- prefix

    filename: str = KliamkaArg("filename", "Input file", positional=True)
  • List/array arguments support - Multiple values with List[T] type

    files: List[str] = KliamkaArg("--files", "Input files")
  • Environment variable fallback - CLI > ENV > default priority

    api_key: str = KliamkaArg("--api-key", "API key", env="API_KEY")
  • Subcommands support - Git-style CLI with @kliamka_subcommands

    @kliamka_subcommands(MainArgs, {"add": AddArgs, "remove": RemoveArgs})
    def main(args, command, cmd_args):
        ...

Version 0.3 - Positional arguments support, List/array arguments support, Environment variable fallback, Subcommands support
Benchmark suite
@hotsyk hotsyk merged commit 3b793b8 into main Dec 18, 2025
6 checks passed
@hotsyk hotsyk deleted the cli-args-features branch December 18, 2025 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant