dart_helper_cli 2.2.0
dart_helper_cli: ^2.2.0 copied to clipboard
A CLI tool for building Flutter and Serverpod projects with fvm support.
Changelog #
2.2.0 #
2.1.5 #
2.1.0 #
β¨ Added #
- Added a new
configcommand for global CLI settings. - Added global
fluttergenenable/disable support viadh config fluttergen on|off. - Added global config settings for
fvm,update-checks,check.details,check.interactive,get-all.tree,check.exclude-pattern,check.exclude-folder, andcolor. - Added support for list-style config actions:
set,add,remove, andclear.
π§ Changed #
- Global config values now act as defaults when CLI flags are omitted, while explicit flags still take precedence.
- Added
--no-fvmsupport to build and get-all commands, plus explicit negated overrides for interactive and tree-related flags. - Centralized ANSI color handling so
dh config color offdisables colored CLI output consistently. - CLI now returns the actual process exit code from
bin/main.dart, including config validation errors.
π Updated #
- Updated help output and README with the expanded
configkeys, precedence rules, and usage examples.
2.0.0 #
β¨ Added #
- Added executable aliases:
dart-helperanddart_helper. - Added short command aliases:
b,bs,bf,c, andga.
π Updated #
- Updated README to document executable aliases and short command forms.
- Updated root dependencies and removed
httpin favor of the Dart standard library for version checks.
π§ Changed #
- Improved the update notification output with a cleaner, more readable CLI block showing the current version, latest version, and update command.
1.5.7 #
π Fixed #
- Improved
checkto better handle route-driven Flutter apps, public barrel files, and Serverpod package-root exclusions.
1.5.6 #
π Changed #
- Suppressed verbose output from
dart pub get(no more βResolving dependencies...β or βDownloading packages...β when successful). - Ensured process output is still displayed when
pub getfails for better debugging visibility.
π§ Fixed #
- Resolved issue with folder tree printer summary display to ensure accurate project processing results.
1.5.3 #
1.5.1 #
π Changed #
- Cleanup: Removed unused exports from
lib/dart_helper.dartto streamline the library interface
1.5.0 #
β¨ Added #
- Get All Dependencies: New
get-allcommand that recursively finds all subprojects withpubspec.yamland runsdart pub getin each - Smart Folder Exclusion: Automatically excludes standard Flutter folders (build, ios, android, web, windows, macos, linux) when scanning for subprojects
1.4.0 #
β¨ Added #
- Unused Files Detection: Complete implementation of
checkcommand inspired by dart_unused_files package - Interactive Cleanup: Added interactive mode for unused files removal with user confirmation
- Smart File Analysis: Dependency graph analysis via import/export parsing to accurately detect unused files
- Flexible Exclusions: Support for custom file patterns and folder exclusions via command-line options
- Test Project: Added comprehensive test project with freezed models to validate dart_helper functionality
π§ Changed #
- Project Structure: Refactored entire codebase to separate models into individual files for improved maintainability
- Command Output: Enhanced output formatting with better visual presentation and progress indicators
- Process Execution: Improved command execution with
ProcessStartMode.inheritStdioto preserve interactive terminal features - Error Handling: Completely redesigned error handling system with better user feedback and recovery options
π Updated #
- Documentation: Comprehensive updates to README.md with detailed usage examples and feature descriptions
- Help System: Enhanced help printer with complete documentation for all commands and options
1.3.6 #
π§ Changed #
- Build Commands: Refactored build and check commands to include
--forceoption for migration handling - Directory Navigation: Streamlined directory detection and navigation logic
1.3.5 #
π Fixed #
- Version Checking: Resolved bug where dart_helper incorrectly validated current version information
1.3.1 #
β¨ Added #
- Auto-Updates: Implemented version checking and automatic update functionality
- Update Notifications: Added notifications when newer versions are available
1.3.0 #
1.2.0 #
π§ Changed #
- Output Enhancement: Enhanced
runCmdto display current directory in command output - Navigation: Streamlined directory navigation logic for build commands
- User Experience: Improved command feedback with better context information
1.1.31 #
π§ Changed #
- Process Handling: Refactored
runCmdto useProcess.startfor improved real-time streaming of stdout and stderr - Performance: Better handling of long-running processes with live output
1.1.3 #
π§ Changed #
- Encoding Support: Enhanced
runCmdwith proper UTF-8 encoding support for stdout and stderr - Internationalization: Improved support for non-ASCII characters in command output
1.1.2 #
π Updated #
- Documentation: Updated README.md with improved installation instructions and usage examples
1.1.1 #
β¨ Added #
- Dependency Detection: Automatic checking for required system commands availability
- Auto-Installation: Intelligent installation of missing dependencies with user guidance
- Error Prevention: Proactive detection of missing tools before command execution
1.0.0 #
π Initial Release #
- Flutter Build: Automated Flutter project building with
dart run build_runner buildandfluttergen - Serverpod Support: Complete Serverpod integration with code generation and migration support
- FVM Integration: Full support for Flutter Version Management (FVM)
- Smart Navigation: Automatic detection of
*_flutterand*_serverdirectories - Cross-Platform: Support for Windows, macOS, and Linux
- CLI Interface: Unified command-line interface with intuitive commands
Legend #
- π Major Features - Significant new functionality
- β¨ Added - New features and capabilities
- π§ Changed - Changes in existing functionality
- π Fixed - Bug fixes and error corrections
- π Updated - Documentation and README updates
- β‘ Performance - Performance improvements
- π Security - Security-related changes