splendid_cli library

A comprehensive CLI tool for scaffolding and managing Flutter applications.

Splendid CLI provides a complete toolkit for Flutter development with built-in MVC architecture patterns, code generation, and project management capabilities. It includes MCP (Model Context Protocol) server functionality for integration with AI development tools.

Key Features:

  • Project scaffolding with MVC architecture
  • Screen generation with route/controller/view pattern
  • Test file generation for widgets and classes
  • Code formatting and documentation tools
  • MCP server for AI tool integration

Usage:

splendid_cli create my_app
splendid_cli screen LoginScreen
splendid_cli test lib/models/user.dart

Classes

DartdocBlock
Represents a block of Dartdoc comments extracted from source code.
DartdocFormatterRequest
Request configuration for Dartdoc formatting operations.
DartdocFormatterResult
Result of a Dartdoc formatting operation.
DartdocFormatterService
Service for reformatting and rewrapping Dartdoc comments in Dart files.
McpToolRegistry
Registry for MCP tools that maps CLI functionality to MCP tool definitions.
ProjectService
Service for managing Flutter project creation and setup operations.
ScreenCreationRequest
Request configuration for screen creation.
ScreenCreationResult
Result of screen creation operation.
ScreenService
Service for managing Flutter screen generation operations.
SplendidCommandRunner
Top-level command runner for the Splendid CLI.
SplendidMcpServer
MCP (Model Context Protocol) server for Splendid CLI.
TestService
Service for managing test file generation operations.

Enums

DartdocFormatterErrorType
Types of errors that can occur during Dartdoc formatting operations.
ScreenServiceErrorType
Types of errors that can occur in screen service operations.

Exceptions / Errors

DartdocFormatterException
Exception thrown by Dartdoc formatter service operations.
ScreenServiceException
Exception thrown by screen service operations.