- Notifications
You must be signed in to change notification settings - Fork225
A Very Good Command-Line Interface for Dart created by Very Good Ventures 🦄
License
VeryGoodOpenSource/very_good_cli
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A Very Good Command-Line Interface for Dart.
Developed with 💙 byVery Good Ventures 🦄
For official documentation, please visithttps://cli.vgv.dev.
dart pub global activate very_good_cli
Or install aspecific version using:
dart pub global activate very_good_cli<version>
If you haven't already, you might need toset up your path.
When that is not possible (eg: CI environments), runvery_good commands via:
dart pub global run very_good_cli:very_good<command><args>
Create a very good project in seconds based on the provided template. Each template has a corresponding sub-command (e.g.,very_good create flutter_app will generate a Flutter starter app).
Creates a new very good projectin the specified directory.Usage: very_good create<subcommand><project-name> [arguments]-h, --help Print this usage information.Available subcommands: dart_cli Generate a Very Good Dart CLI application. dart_package Generate a Very Good Dart package. docs_site Generate a Very Good documentation site. flame_game Generate a Very Good Flame game. flutter_app Generate a Very Good Flutter application. flutter_package Generate a Very Good Flutter package. flutter_plugin Generate a Very Good Flutter plugin.Run"very_good help" to see global options.
# Create a new Flutter app named my_appvery_good create flutter_app my_app# Create a new Flutter app named my_app with a custom orgvery_good create flutter_app my_app --desc"My new Flutter app" --org"com.custom.org"# Create a new Flutter app named my_app with a custom application idvery_good create flutter_app my_app --desc"My new Flutter app" --application-id"com.custom.app.id"# Create a new Flame game named my_gamevery_good create flame_game my_game --desc"My new Flame game"# Create a new Wear OS app named my_wear_appvery_good create flutter_app my_wear_app --desc"My new Wear OS app" --template wear# Create a new Flutter package named my_flutter_packagevery_good create flutter_package my_flutter_package --desc"My new Flutter package"# Create a new Dart package named my_dart_packagevery_good create dart_package my_dart_package --desc"My new Dart package"# Create a new Dart package named my_dart_package that is publishablevery_good create dart_package my_dart_package --desc"My new Dart package" --publishable# Create a new Dart CLI application named my_dart_clivery_good create dart_cli my_dart_cli --desc"My new Dart CLI package"# Create a new Dart CLI application named my_dart_cli with a custom executable namevery_good create dart_cli my_dart_cli --desc"My new Dart CLI package" --executable-name my_executable_name# Create a new Flutter plugin named my_flutter_plugin (all platforms enabled)very_good create flutter_plugin my_flutter_plugin --desc"My new Flutter plugin"# Create a new Flutter plugin named my_flutter_plugin (some platforms only)very_good create flutter_plugin my_flutter_plugin --desc"My new Flutter plugin" --platforms android,ios,macos# Create a new docs site named my_docs_sitevery_good create docs_site my_docs_site
Run tests in a Dart or Flutter project.
# Run all testsvery_goodtest# Run all tests and collect coveragevery_goodtest --coverage# Run all tests and enforce 100% coveragevery_goodtest --coverage --min-coverage 100# Run only tests in ./some/other/directoryvery_goodtest ./some/other/directory# Run tests recursivelyvery_goodtest --recursive# Run tests recursively (shorthand)very_goodtest -r# Run tests on a specific platformvery_goodtest --platform chrome
Get packages in a Dart or Flutter project.
# Install packages in the current directoryvery_good packages get# Install packages in ./some/other/directoryvery_good packages get ./some/other/directory# Install packages recursivelyvery_good packages get --recursive# Install packages recursively (shorthand)very_good packages get -r
Check packages' licenses in a Dart or Flutter project.
# Check licenses in the current directoryvery_good packages check licenses# Only allow the use of certain licensesvery_good packages check licenses --allowed="MIT,BSD-3-Clause,BSD-2-Clause,Apache-2.0"# Deny the use of certain licensesvery_good packages check licenses --forbidden="unknown"# Check licenses for certain dependencies typesvery_good packages check licenses --dependency-type="direct-main,transitive"
Start the MCP (Model Context Protocol) server for AI assistant integration.
ℹ️Experimental
This command relies on theDart MCP Server. This is an experimental package and may change or become unstable without notice. Use it with caution at your own risk.
# Start the MCP serververy_good mcpThe MCP server exposes Very Good CLI functionality through the Model Context Protocol, allowing AI assistants to interact with the CLI programmatically. This enables automated project creation, testing, and package management through MCP-compatible tools.
Available MCP Tools:
create: Create new Dart/Flutter projects (https://cli.vgv.dev/docs/category/templates)tests: Run tests with optional coverage and optimization (https://cli.vgv.dev/docs/commands/test)packages_check_licenses: Check packages for issues and licenses (https://cli.vgv.dev/docs/commands/check_licenses)packages_get: Get package information and dependencies (https://cli.vgv.dev/docs/commands/get_pkgs)
See the complete list of commands and usage information.
🦄 A Very Good Command-Line InterfaceUsage: very_good<command> [arguments]Global options:-h, --help Print this usage information. --version Print the current version. --[no-]verbose Noisy logging, including all shell commands executed.Available commands: create very_good create<subcommand><project-name> [arguments] Creates a new very good projectin the specified directory. mcp Start the MCP (Model Context Protocol) server. WARNING: This is an experimental package and may change or become unstable without notice. Use it with caution at your own risk. packages Commandfor managing packages.test Run testsin a Dart or Flutter project. update Update Very Good CLI.Run"very_good help <command>"for more information about a command.
About
A Very Good Command-Line Interface for Dart created by Very Good Ventures 🦄
Topics
Resources
License
Code of conduct
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
