Package selection guidance compiled from public package information, community data, and project usage.
cli_util is a Dart library designed to simplify the development of command-line applications. It provides utilities for parsing command-line arguments, handling input/output operations, and managing exit codes, making it easier to build robust CLI tools. The package integrates seamlessly with Dart's ecosystem and supports multiple platforms including Android, iOS, macOS, Windows, and Linux. It is particularly useful for developers creating scripts, automation tools, or developer-facing utilities that run in terminal environments.
Use cases
Building CLI tools for developers
Creating automation scripts
Parsing command-line arguments
Handling terminal input/output
Developing cross-platform command-line utilities
Key features
Easy argument parsing
Cross-platform compatibility
Terminal I/O helpers
Exit code management
Simple integration with Dart projects
Suitable for
Dart CLI tool developers
Automation script creators
Command-line interface builders
Tooling maintainers
DevOps engineers
Considerations
Not intended for GUI applications
Requires manual setup for complex commands
Limited to command-line use cases
No built-in help text generation
Depends on Dart SDK version compatibility
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Overview
This repository is home to tooling related Dart packages. Generally, this means
packages published through the
tools.dart.dev publisher that
don't naturally belong to other topic monorepos (like
dart-lang/build,
dart-lang/test, or
dart-lang/shelf).
A client library for authenticating with a remote service via OAuth2 on behalf of a user, and making authorized HTTP requests with the user's OAuth2 credentials.