Command Syntax
All Lumo commands follow this pattern:Available Commands
init
Initialize the Lumo UI plugin in your project
setup
Setup theme and verify configuration
add
Add a specific UI component
add-all
Add all available UI components
required-deps
Show required dependencies
available-components
List all available components
Quick Reference
Initialization Commands
Initialization Commands
| Command | Description |
|---|---|
--init | Creates default configuration file |
--setup | Generates theme files and validates config |
Component Commands
Component Commands
| Command | Description |
|---|---|
--add <name> | Add a specific component by name |
--add-all | Add all available components |
--available-components | List all component names |
Utility Commands
Utility Commands
| Command | Description |
|---|---|
--required-deps | Display required Gradle dependencies |
--plugin-help | Show help message |
Typical Workflow
Here’s the recommended sequence for setting up Lumo UI:Configuration File
Most commands require a validlumo.properties file in your project root. This file is created by the --init command and contains:
Name of your application theme (e.g.,
AppTheme)Relative path from project root to components directory
Package name for generated component files
Set to
true for Kotlin Multiplatform projectsError Handling
Next Steps
- Start with the init command to initialize your project
- Learn about adding components to your UI
- Explore available components in the component library