fli 1.1.1%2B1
A native CLI tool for generating clean and standardized Flutter project structures. Supports all platforms with optimized functionality for desktop use.
📚 fli Documentation
Welcome to the comprehensive documentation for fli - Flutter Layer Infrastructure CLI tool.
🗂️ Documentation Index
📋 Template Documentation
Complete guide to all available templates with detailed structure explanations, use cases, and generated code examples.
What you'll find:
- Template overview and comparison table
- Detailed structure for each template
- When to use each template
- Generated files explanation
- Current implementation status
- Future roadmap
🏗️ Architecture Guide
Deep dive into the architectural patterns and design principles used across templates.
What you'll find:
- Design principles and patterns
- Architecture comparison between templates
- Folder structure conventions
- Naming conventions
- Service layer patterns
- State management approaches
- Testing strategies
- Migration paths between templates
📱 Usage Examples
Practical examples and real-world scenarios for using each template effectively.
What you'll find:
- Quick start examples
- Detailed usage scenarios
- Customization patterns
- API integration examples
- Local storage integration
- State management examples
- Testing examples
- Deployment guides
- Pro tips and best practices
🚀 Quick Navigation
For New Users
- Start with Template Documentation to understand available options
- Read Usage Examples for practical implementation
- Reference Architecture Guide for deeper understanding
For Experienced Developers
- Jump to Architecture Guide for technical details
- Use Template Documentation as reference
- Check Usage Examples for advanced patterns
For Team Leads
- Review Template Documentation for team standardization
- Study Architecture Guide for architectural decisions
- Share Usage Examples with your team
📊 Template Selection Guide
| Project Type | Team Size | Complexity | Recommended Template |
|---|---|---|---|
| MVP/Prototype | 1-2 | Low | Basic |
| Small App | 1-3 | Low-Medium | Basic |
| Medium App | 2-5 | Medium | Feature Driven |
| Large App | 5+ | High | Clean Architecture |
| State-Heavy | Any | Medium-High | BLoC Pattern |
| Simple State | Any | Medium | Provider Pattern |
🛠️ Getting Started
Installation
# Install from pub.dev
dart pub global activate fli
# Verify installation
fli --version
Create Your First Project
# Interactive mode (recommended for beginners)
fli create my_app --interactive
# Quick start with basic template
fli create my_app --template=basic
# Advanced template
fli create my_app --template=feature_driven
Explore Generated Structure
cd my_app
ls -la lib/
flutter test
flutter run
📖 Additional Resources
Command Reference
fli --help # Show all available commands
fli create --help # Show create command options
fli templates # List all available templates
fli --version # Show current version
Template Commands
fli create <name> # Interactive template selection
fli create <name> --template=basic # Basic template
fli create <name> --template=feature_driven # Feature-driven template
fli create <name> --template=clean_architecture # Clean architecture
fli create <name> --template=bloc_pattern # BLoC pattern
fli create <name> --template=provider_pattern # Provider pattern
Development Workflow
- Choose template based on project requirements
- Generate project with fli create
- Customize structure following template patterns
- Add features using established conventions
- Test regularly with generated test structure
- Deploy using Flutter build commands
🔗 External Links
- GitHub Repository: https://github.com/faizahmaddae/fli
- pub.dev Package: https://pub.dev/packages/fli
- Issue Tracker: https://github.com/faizahmaddae/fli/issues
- Flutter Documentation: https://flutter.dev/docs
- Dart Documentation: https://dart.dev/guides
🤝 Contributing
Documentation Improvements
- Found a typo or unclear explanation?
- Want to add more examples?
- Have suggestions for better organization?
Contribute to documentation:
- Fork the repository
- Edit the relevant
.mdfiles in thedoc/folder - Submit a pull request
Template Enhancements
- Ideas for new templates?
- Improvements to existing templates?
- Bug fixes or optimizations?
Contribute to templates:
- Check the issues for planned work
- Create an issue for discussion
- Fork and implement your changes
- Submit a pull request
📞 Support
Getting Help
- Documentation: Check this documentation first
- Issues: Search existing issues
- New Issue: Create a new issue with details
- Discussions: Join GitHub discussions for questions
Reporting Bugs
When reporting bugs, please include:
- fli version (
fli --version) - Flutter version (
flutter --version) - Operating system
- Complete error message
- Steps to reproduce
Feature Requests
For feature requests, please include:
- Use case description
- Expected behavior
- Example of how it would work
- Possible implementation approach
📝 Documentation Updates
This documentation is continuously updated with:
- New template features
- Updated examples
- Community feedback
- Best practice improvements
Last updated: August 2025
fli version: 1.0.1
Documentation version: 1.0.0
Happy coding with fli! 🚀