dart-build-cli-app
Architectural patterns, entrypoint structure, exit codes, stream routing, and subprocess spawning for Dart command-line interface (CLI) applications. Use when building CLI tools, console utilities, scripts, argument parsing with package:args (ArgParser or CommandRunner), handling exit codes, configuring executables in pubspec.yaml, spawning Dart subprocesses, or compiling native CLI binaries. Don't use for Flutter UI widgets, web applications, or standalone HTTP backend servers.
Pinned to revision 4e8964e24a5a, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/dart-build-cli-app/SKILL.md
- skills/dart-build-cli-app/LICENSE
- skills/dart-build-cli-app/examples/multi_command_runner.dart
- skills/dart-build-cli-app/examples/single_command_tool.dart
- skills/dart-build-cli-app/references/aot_sdk_discovery.md
- skills/dart-build-cli-app/references/signals_and_terminal.md
Every link opens the file at its source, pinned to the revision this page describes.