cli_buddy 0.0.1-dev.1 copy "cli_buddy: ^0.0.1-dev.1" to clipboard
cli_buddy: ^0.0.1-dev.1 copied to clipboard

CLI to call any AI to ask, auto-complete, and generate code directly from any command line tool.

cli_buddy #

style: very good analysis License: MIT

Generated by the Very Good CLI ๐Ÿค–


Getting Started ๐Ÿš€ #

Create a secret.env file in the root and add:

openrouter_key=YOUR_OPENROUTER_KEY

If the CLI application is available on pub, activate globally via:

dart pub global activate cli_buddy

Or locally via:

dart pub global activate --source=path <path to this package>

Usage #

# Sample command
$ cli_buddy sample

# Sample command option
$ cli_buddy sample --cyan

# Show CLI version
$ cli_buddy --version

# Show usage help
$ cli_buddy --help

Running Tests with coverage ๐Ÿงช #

To run all unit tests use the following command:

$ dart pub global activate coverage 1.2.0
$ dart test --coverage=coverage
$ dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info

To view the generated coverage report you can use lcov .

# Generate Coverage Report
$ genhtml coverage/lcov.info -o coverage/

# Open Coverage Report
$ open coverage/index.html

2
likes
0
pub points
0%
popularity

Publisher

unverified uploader

CLI to call any AI to ask, auto-complete, and generate code directly from any command line tool.

Homepage
Repository (GitHub)
View/report issues

Topics

#cli #http

License

unknown (license)

Dependencies

args, cli_completion, dio, dotenv, flat_buffers, freezed_annotation, json_annotation, mason_logger, objectbox, pub_updater, result_dart

More

Packages that depend on cli_buddy