flutter_clone_cli 1.0.4
flutter_clone_cli: ^1.0.4 copied to clipboard
A CLI tool to create Flutter projects from custom templates.
Changelog #
All notable changes to this project will be documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.4 - 2025-11-03 #
Added #
- Flutter version selection feature with
--flutter-versionor-vflag - Automatic detection of current Flutter version before project creation
- Support for FVM (Flutter Version Management) for clean version switching
- Fallback to native Flutter SDK commands when FVM is not available
- Support for Flutter channels (stable, beta, master, dev)
- Support for specific Flutter version numbers (e.g., 3.16.0)
- Informative logging showing current and requested Flutter versions
- Automatic version comparison to avoid unnecessary switches
Features #
- Smart Version Management: Detects if FVM is installed and uses it for better version isolation
- Channel Support: Switch between Flutter channels (stable, beta, master, dev)
- Version Pinning: Create projects with specific Flutter SDK versions
- Backward Compatible: Works without any version flags, using current system Flutter
- User Guidance: Recommends FVM installation for better version management experience
Examples #
# Create with current Flutter version (default)
ftcreate my_app -t /path/to/template
# Create with Flutter stable channel
ftcreate my_app -t /path/to/template -v stable
# Create with specific Flutter version
ftcreate my_app -t /path/to/template -v 3.16.0
# Combine with organization ID
ftcreate my_app -t /path/to/template -v stable -o com.mycompany
1.0.3 - 2025-10-29 #
Fixed #
- INFO: Library names are not necessary.
- INFO: Statements in an if should be enclosed in a block.
1.0.2 - 2025-10-29 #
Added #
- Example project in
example/directory to demonstrate usage. - Inline documentation comments for public APIs to meet pub.dev score requirements.
analysis_options.yamlwithpublic_member_api_docsrule.- Minor improvements to CLI output and validation messages.
Fixed #
- Missing CHANGELOG entry warning on
dart pub publish --dry-run. - Improved error handling when template path or pubspec.yaml is missing.
1.0.1 - 2025-10-29 #
0.1.0 - 2025-10-29 #
Added #
- Initial release of Flutter Template CLI
- Create Flutter projects from custom templates with a single command
- Automatic project name replacement across all project files
- Automatic package ID updates for Android and iOS
- Smart file copying that excludes build artifacts and hidden files
- Support for custom organization identifiers
- Command-line interface with
ftcreatecommand - Validation for project names (lowercase, underscores, numbers only)
- Progress indicators for better user experience
- Comprehensive error handling and user feedback
Features #
- Template Copying: Complete project duplication from custom templates
- Android Updates: Automatically updates
build.gradle,AndroidManifest.xml, andMainActivity.kt - iOS Updates: Automatically updates
Info.plistandproject.pbxprojfiles - File Exclusions: Skips
.git,build/,.dart_tool/, and other temporary files - Project Validation: Ensures template is a valid Flutter project before copying
Documentation #
- Comprehensive README with installation and usage instructions
- Inline code documentation
- Usage examples and best practices