NAME

WWW::ARDB::CLI - Command-line interface for WWW::ARDB

VERSION

version 0.002

SYNOPSIS

use WWW::ARDB::CLI;
WWW::ARDB::CLI->new_with_cmd;

DESCRIPTION

Main CLI class for the ARC Raiders Database API client. Uses MooX::Cmd for subcommand handling.

See ardb --help for command-line usage.

debug

Boolean. Enable debug output. Set via --debug or -d flag, or WWW_ARDB_DEBUG environment variable. Defaults to 0.

no_cache

Boolean. Disable response caching. Set via --no-cache flag, or WWW_ARDB_NO_CACHE environment variable. Defaults to 0.

json

Boolean. Output results as JSON. Set via --json or -j flag, or WWW_ARDB_JSON environment variable. Defaults to 0.

api

WWW::ARDB instance used for API calls. Automatically configured with debug and caching settings.

output_json

$cli->output_json($data);

Helper method to output data as JSON. Used by subcommands.

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-www-ardb/issues.

IRC

You can reach Getty on irc.perl.org for questions and support.

CONTRIBUTING

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

AUTHOR

Torsten Raudssus <torsten@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.