dart-build-cli-app
dart build cli app
What it does
- Project Setup & Architecture
- Argument Parsing & Command Routing
- Execution & Error Handling
- Testing CLI Applications
- Compilation & Distribution
- Run dart create -t cli <projectname> to scaffold a console application with basic argument parsing.
- Place executable entry points (files containing main()) exclusively in the bin/ directory.
Requirements & configuration
- Use sharedStdIn from the io package if multiple asynchronous listeners need sequential access to standard input.
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
dart-build-cli-app FAQ
What does the dart-build-cli-app skill do?
Entrypoint structure, exit codes, cross-platform scripts. Use when building command line utilities, scripts, or applications. Project Setup & Architecture Argument Parsing & Command Routing
What does dart-build-cli-app require?
Use sharedStdIn from the io package if multiple asynchronous listeners need sequential access to standard input.
How do I install dart-build-cli-app?
Run: npx -y skills add https://github.com/dart-lang/skills --skill dart-build-cli-app --agent claude-code — the source lives at github.com/dart-lang/skills.
Maintain dart-build-cli-app?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/dart-lang-skills-dart-build-cli-app?ref=badge) npx agentictools info skills/dart-lang-skills-dart-build-cli-app The second line is the CLI lookup for this page — handy in READMEs and docs.