splendid_cli 5.0.1
splendid_cli: ^5.0.1 copied to clipboard
A Command-Line Interface for scaffolding Flutter projects with MVC architecture, strong typing, and localization best practices.
5.0.1 #
Command Aliases #
- Enhanced Usability: Added convenient shorter aliases for core commands to improve developer experience
- Alias Support: Commands now support multiple invocation patterns for faster typing and better discoverability
- Backward Compatibility: All existing command names continue to work alongside new aliases
- Consistent Patterns: Aliases follow consistent naming conventions across all commands
5.0.0 #
GUI Dashboard #
- Visual Interface: New
guicommand launches a Flutter desktop application for visual project management - Cross-Platform Desktop: Full support for Windows, macOS, and Linux desktop platforms
- Project Creation Wizard: Visual interface for creating Flutter projects with platform selection and parameter configuration
- Screen Generation Interface: Point-and-click screen creation with MVC architecture preview
- Test Generation Tools: File browser integration for selecting target files and generating comprehensive test templates
- Real-Time Output: Live command execution feedback with expandable output panel and copy-to-clipboard functionality
- Project Detection: Automatic Flutter project detection with visual status indicators
- Command Preview: Shows exact CLI commands before execution for transparency and learning
- File System Integration: Native file picker dialogs for project and file selection
- Responsive Design: Adaptive grid layout that works across different screen sizes
- Error Handling: Comprehensive error display and recovery with user-friendly messages
- MVC Architecture: GUI follows the same architectural patterns as generated projects
- Dependency Isolation: Separate Flutter dependencies for GUI to avoid version conflicts with CLI
4.1.1 #
Version Management #
- Dynamic Version Reading: Version flag now dynamically reads from
pubspec.yamlinstead of hardcoded value - Automatic Synchronization: CLI version output always matches the package version without manual updates
- Short Flag Support: Added
-vshortcut for--versionflag following standard CLI conventions - Error Resilience: Graceful fallback to 'unknown' when version cannot be determined from pubspec.yaml
4.1.0 #
Version Support #
- Version Flag: Added
--versionglobal option to display current CLI version - Standard Compliance: Follows standard CLI conventions for version information display
- Priority Handling: Version flag takes precedence over other arguments when provided
4.0.0 #
Dartdoc Comment Formatting #
- Comment Reformatting: New
format-dartdoccommand for automated Dartdoc comment line length adjustment - Line Length Migration: Seamlessly convert comments from 80 to 120 characters (or any specified length between 40-200)
- Intelligent Wrapping: Smart text wrapping that respects word boundaries and preserves readability
- Format Preservation: Maintains code blocks (```dart), markdown headers, lists, and documentation tags
- Batch Processing: Process individual files or entire directory trees with recursive .dart file discovery
- Safety Features: Dry-run mode for previewing changes without file modification
- Build Directory Skipping: Automatically excludes .dart_tool/, build/, and other generated file directories
- Dual Comment Support: Handles both /// single-line and /** */ multi-line Dartdoc comment styles
- Command Aliases: Multiple invocation options (
format-dartdoc,fmt-doc,format-docs) - Comprehensive Help: Detailed usage documentation with examples and formatting behavior explanations
3.1.1 #
Screen Template Improvements #
- Linter Compliance: Fixed linter warnings in generated screen templates
- Code Quality: Minor adjustments to screen brick templates for better code standards
- Template Refinement: Improved generated code quality without functional changes
3.1.0 #
Hybrid Brick Loading System #
- Smart Brick Resolution: Hybrid loading system that checks local development bricks first, then cached bricks, then downloads from GitHub
- Global Installation Support: Fixes PathNotFoundException when CLI is installed globally via
dart pub global activate - Automatic Caching: Downloaded bricks are cached locally in
~/.splendid_cli/bricks/for offline use - Cache Management: New
cachecommand withlist,info, andclearsubcommands for managing brick cache - Seamless Fallback: Transparent fallback from local → cached → remote without user intervention
- Development Friendly: Preserves local brick usage during development while enabling production deployments
- Offline Support: Cached bricks work without internet connection after first download
3.0.0 #
MCP Server Integration #
- AI Integration:
--mcp-serverflag enables Model Context Protocol server mode for AI systems - Programmatic Access: Exposes all CLI functionality through standardized MCP tools
- Tool Registry: Four core tools for project creation, screen generation, setup, and test generation
- JSON-RPC Communication: Standards-compliant MCP server with proper error handling
- AI-Driven Development: Enables AI assistants to scaffold Flutter projects autonomously
- Protocol Compliance: Full MCP specification support with initialization and capability negotiation
2.0.0 #
Screen Generation #
- Screen Scaffolding:
screencommand for adding MVC-structured screens to existing Flutter projects - MVC Architecture: Generates route, controller, and view files following established patterns
- Interactive Placeholder: Icon selection game demonstrating proper MVC separation
- Smart Naming: Automatic conversion between naming conventions (PascalCase → snake_case)
- Enhanced Help: Updated CLI help system with comprehensive screen command documentation
- Robust Validation: Flutter project detection and Dart identifier validation
1.0.0 #
Initial Release #
- Project Scaffolding:
createcommand for generating Flutter projects with MVC architecture - Project Setup:
setupcommand for automated dependency installation and localization generation - Test Generation:
generate-testcommand for creating comprehensive test templates - Strong Typing: All generated code follows explicit typing patterns
- Localization Ready: Pre-configured l10n setup with ARB files
- Cross-Platform: Support for all Flutter platforms (Android, iOS, Web, Desktop)
- Developer Experience: Intuitive CLI with helpful