qftools 1.0.4
qftools: ^1.0.4 copied to clipboard
A comprehensive Flutter project management CLI tool for streamlining development workflows.
Changelog #
All notable changes to this project will be documented in this file.
1.0.4 #
Enhanced #
- Universal Directory Support for Organize Imports: Improved
organize-imports
command to work in any directory- Now works in any folder containing Dart files, not just Flutter project root
- Automatically detects current directory when run from non-Flutter projects
- Falls back to current directory when lib/ is not available
- Can run from subdirectories like lib/src/utils
- Added support for specifying a target directory to search within
Improved #
- Removed Flutter project directory validation for organize-imports command
- Enhanced file discovery to work with any directory structure
- Better error handling for non-Flutter projects
- More flexible command usage scenarios for different project types
1.0.3 #
Enhanced #
- Organize Imports Interactive Mode: Enhanced
organize-imports
command with interactive file selection- When no file is specified, automatically discovers all
.dart
files inlib/
directory - Displays numbered list of all available Dart files for selection
- Interactive prompt for barrel file optimization option
- Recursive directory scanning for comprehensive file discovery
- Improved user experience with guided workflow
- Maintains backward compatibility with direct file specification
- When no file is specified, automatically discovers all
Added #
- Interactive file selection for organize-imports command
- Automatic Dart file discovery in lib/ directory and subdirectories
- User-friendly numbered file listing
- Interactive barrel file option prompt
- Enhanced error handling for file selection
Improved #
- Organize imports command now supports both interactive and direct modes
- Better user guidance for import organization workflow
- Consistent file sorting for predictable file listing
1.0.2 #
- Updated the dart doc.
1.0.1 #
- Update
CHANGELOG.md
to include initial release details
1.0.0 - 2025-07-03 #
Added #
- Initial release of QfTools CLI
- Asset Management: Generate asset constants with
assets
command- Auto-generate
lib/assets/app_assets.dart
with constants for all assets - Watch mode for automatic regeneration on asset changes
- Support for multiple asset directories (assets, lib/assets, images, fonts)
- Auto-generate
- Project Cleaning: Clean project with
clean
command- Standard mode:
flutter clean
+flutter pub get
- Full mode: build_runner operations + standard clean
- Standard mode:
- Code Formatting: Format Dart code with
format
command- Format all Dart files in the project
- Check mode for validation without applying changes
- Build Management: Build APKs with
build
command- Debug and release build modes
- Build flavor support for multi-flavor projects
- Localization: Generate l10n files with
l10n
command- Integration with
flutter gen-l10n
- Template ARB file creation
- Integration with
- Testing: Run tests with
test
command- Unit and widget test execution
- Coverage report generation
- Test group filtering
- Project Initialization: Set up project configs with
init
command- Comprehensive
analysis_options.yaml
with strict linting rules - Flutter-specific
.gitignore
patterns - QfTools configuration file
.qftools.yaml
- Comprehensive
- Package Management: Manage dependencies with
packages
command- Check for outdated packages
- Add new packages with comma-separated syntax
- Documentation: Generate API docs with
docs
commanddart doc
integration- Documentation coverage validation
- Dependency Management: Simple
get
command forflutter pub get
- Global Options:
- Verbose logging with
--verbose
flag - Comprehensive help system
- Verbose logging with
- Cross-platform Support: Windows, macOS, and Linux compatibility
- Modular Architecture: Extensible command structure for future additions
Dependencies #
args: ^2.4.2
- Command-line argument parsingpath: ^1.8.3
- Cross-platform path handlingio: ^1.0.4
- I/O utilitiesyaml: ^3.1.2
- YAML configuration support
Development Dependencies #
test: ^1.24.9
- Testing frameworkflutter_lints: ^4.0.0
- Dart linting rulesflutter_test
- Flutter testing utilities
Documentation #
- Comprehensive README with usage examples
- Command reference documentation
- Configuration file documentation
- Development and contribution guidelines
Testing #
- Unit tests for all utility classes
- Integration tests for command functionality
- Cross-platform compatibility testing
[Unreleased] #
Planned Features #
- Configuration file loading from
.qftools.yaml
- GitHub Actions CI/CD integration
- Additional build targets (iOS, Web, Desktop)
- Plugin system for custom commands
- Interactive mode for guided workflows
- Performance profiling integration
- Custom template support for asset generation
- Integration with popular Flutter packages
- Workspace management for multi-project setups