cli_tools 0.5.0-beta.3
cli_tools: ^0.5.0-beta.3 copied to clipboard
A collection of tools for building great command-line interfaces.
Changelog #
0.5.0-beta.3 #
- fix: Replaced yaml_codec dependency with yaml in order to support Dart 3.3
- chore: Require Dart 3.3
0.5.0-beta.2 #
- feat: New
Logger.log
method with dynamically specified log level - fix: Downgrade
collection
dependency to 1.18 to be compatible with Dart 3.3 - fix: Improved usage help composition
- fix: BetterCommandRunner API improvements
0.5.0-beta.1 #
- feat: Introduced the Config library for unified args and env parsing
- fix: Include user input prompt feature in library export
- fix: BREAKING. BetterCommand's constructor changed to use MessageOutput class for clearer specification of logging functions.
0.4.0 #
- feat: BREAKING. BetterCommandRunner's constructor changed to use MessageOutput class for clearer specification of logging functions.
0.3.0 #
- feat: BREAKING. Logging behavior now allows configuring the log level for stderr. By default, all logs are now directed to stdout.
- feat: BREAKING. Preserves UsageException upon argument parse errors instead of replacing it with ExitException.
- feat: Changed dark red to bright red for console output.
0.2.0 #
- feat: BREAKING. ExitException to handle full range of valid exit codes.
0.1.4 #
- fix: Expose prompt features.
0.1.3 #
- feat: Add prompts module with confirm, select, multiselect and input components.
0.1.2 #
- fix: Don't return ReadException for failed json parsing.
0.1.1 #
- fix: Report analytics event before running command.
- feat: Add documentation generator helper.
0.1.0 #
- feat: Introduce BetterCommand class to simplify command creation.
- fix: BREAKING. Removes onError callbacks from PubApiClient and LocalStorageManager in favor of throwing exceptions.
0.0.2 #
- Downgrades some dependencies to avoid compatibility issues with Serverpod CLI.
0.0.1 #
- Initial version.