NAME

Langertha::Knarr::CLI - CLI entry point for Knarr LLM Proxy

VERSION

version 1.102

DESCRIPTION

MooX::Cmd entry point for the knarr CLI. Dispatches to subcommand classes under Langertha::Knarr::CLI::Cmd::*. When invoked without a subcommand, prints a banner and usage summary.

For full CLI documentation see knarr and Langertha::Knarr.

SEE ALSO

--config

Path to the YAML configuration file. Short form: -c. Defaults to ./knarr.yaml. Accepted before the subcommand (knarr -c prod.yaml start) and after start, check and models (knarr start -c prod.yaml, see Langertha::Knarr::CLI::Role::GlobalOptions); a value after the subcommand wins.

--verbose

Enable verbose logging to stderr. Short form: -v. Also enabled by KNARR_DEBUG=1. Accepted before the subcommand and after start, check and models, like "--config".

normalize_argv

my @argv = Langertha::Knarr::CLI->normalize_argv(@ARGV);

Rewrites long option names from their dashed to their underscore spelling (--log-file=x becomes --log_file=x, --no-verbose keeps its no- prefix). Arguments that do not start with -- (short options and option values) and everything after a bare -- are left untouched. new_with_cmd applies it to @ARGV before parsing, so every documented dashed option works in any position.

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/langertha-knarr/issues.

IRC

Join #langertha on irc.perl.org or message Getty directly.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.