commands_cli 0.3.2
commands_cli: ^0.3.2 copied to clipboard
A powerful CLI tool that generates type-safe, project-local command wrappers from YAML definitions for Dart and Flutter developers.
0.3.1 - 2025-12-15 #
0.3.0 - 2025-12-15 #
Added #
- Update check: Notifies users when a new version is available and provides a clickable changelog link
regeneratecommand: Cleans and reactivates all commands in one step--silent,--exit-error, and--exit-warningflags for improved CLI control- Auto-regenerate after successful update
- String.containsAny extension for cleaner string checks
- Tests for version checking and enum picker in interactive cases
Changed #
- Help output: Reordered and grouped options for clarity
- Treat
--silentand--exitoptions as regular options in help - Improved enum validation error messages
- Improved update logic to match generated commands dependency to global installation
Fixed #
- Correctly reactivate individual commands after regeneration
- Remove leading space in help examples output
- Allow enum picker for required positional params without defaults
- Improve error messages for invalid enum values
- Correct padding in help output test expectations
Documentation #
- Expanded AGENTS.md and CLAUDE.md with commit and workflow rules
- Clarified help and option descriptions
0.2.1 - 2024-12-08 #
0.2.0 - 2025-12-07 #
Features #
- Update Command: Add new
--update(-u) option that intelligently updates commands_cli- Auto-detects global vs local installation context
- Runs
dart pub global activatefor global installations - Runs
dart pub upgradefor local dependencies - Preserves installation source (git vs pub.dev) during updates
Improvements #
- Update Logic: Simplify git URL handling and improve source detection
- Use hardcoded public repository URL for git updates
- Enhanced source detection with regex-based parsing for commands_cli package entry
Documentation #
- Add AGENTS.md with testing workflow instructions
- Git operations guidelines
- Integration test workflow requiring global package activation
- Instructions for activating from specific git branches using
--git-refflag
- Expand package description in pubspec.yaml
- Add package topics for better discoverability (cli, makefile, commands, task-runner, script-manager)
- Update repository and issue tracker URLs
- Update pub.dev and GitHub Actions badge URLs
Testing #
- Add comprehensive test coverage for help option flags
- Update integration tests to accept both git and pub.dev update messages
CI/CD #
- Add concurrency control to automatically cancel previous workflow runs
0.1.0 - 2025-12-07 #
Initial release 🎉