dash_panel_cli library
Dash CLI - Command-line tools for Dash admin panel framework.
This library provides a comprehensive set of CLI commands for:
- Code generation (models, resources)
- Database management (schema inspection, seeding, record creation)
- Server monitoring (logs, status)
- MCP server for LLM integration
Classes
- BaseCommand
- Base class for all Dash CLI commands.
- CompletionArgument
- A positional argument for completion.
- CompletionCommand
- Generate shell completion scripts.
- CompletionConfiguration
- Configuration for shell completion generation.
- CompletionOption
- A named option for completion.
- ConfigLoader
- Configuration loader for Dash CLI.
- ConsoleUtils
- Console utilities for colorful and formatted CLI output.
- DashConfig
- Dash CLI configuration.
- DatabaseConfig
- Database configuration.
- DatabaseConnector
- Abstract base class for database connectors.
- DbClearCommand
- Clear all data from database tables.
- DbCreateCommand
- Interactively create a single database record.
- DbSchemaCommand
- Display database table schemas.
- DbSeedCommand
- Seed the database with fake data.
- DcliArgument
- Unified argument definition for Dash CLI commands.
- FieldGenerator
- Generates fake/default values for schema fields.
- GenerateModelsCommand
- Generate Dart model classes from schema YAML files.
- McpServerCommand
- Start an MCP server for LLM integration.
- PasswordUtils
- Utility class for password hashing operations.
- ServerLogCommand
- Stream server logs to the console.
- ServerStatusCommand
- Display server status and health information.
- SqliteConnector
- SQLite database connector implementation.
Enums
- CompletionType
- Types of completions that can be generated.
- DatabaseConnectorType
- Enum representing supported database connector types.
Mixins
- CompletionConfigurable
- Mixin for commands that provide completion configuration.
- DatabaseCommandMixin
- Adds common database-related options to commands.
- SchemaCommandMixin
- Adds common schema-related options to commands.
Extensions
- DatabaseConnectorCli on DatabaseConnector
- Extension providing CLI-specific utility methods for DatabaseConnector.