Commands Overview
Command | Description |
---|---|
neo create | Create a new Flutter project with Neo |
neo config | Configure default CLI settings |
neo help | Display help information |
neo --version | Show CLI version |
neo create
Create a new Flutter project using Neo with your preferred template and configuration.Usage
Options
Name of the project to create. Must be a valid Flutter project name (lowercase, underscores allowed).
Organization identifier in reverse domain notation (e.g.,
com.example
). Uses configured default if not specified.Template to use for project creation. Available options:
simple
, sidebar
. Uses configured default if not specified.Comma-separated list of platforms to enable. Available:
ios
, android
, web
, macos
, windows
, linux
. Uses configured default if not specified.What Gets Created
Thecreate
command performs these steps automatically:
- Flutter Project Creation - Runs
flutter create
with optimized settings - Neo Installation - Adds and configures the Neo package
- Template Setup - Applies your chosen template structure
- Dependencies - Installs all required packages
- Code Generation - Runs build runners for generated code
To explore available templates and choose the right one for your project, visit the Templates page.
neo config
Configure default settings that will be used for future project creation. After installing the Neo CLI, run this command to set up your preferences for organization identifier, default platforms, and preferred template.Configuration only needs to be done once. You can re-run
neo config
anytime to update your settings.Usage
Options
Display all current configuration values.
Set the default organization identifier.
Set the default template.
Set the default enabled platforms (comma-separated).
neo help
Access comprehensive help information for any command.Usage
Usage Patterns
Interactive vs Flag-Based
Interactive Mode (recommended for beginners):- Guides you through each step
- Validates input in real-time
- Uses your configured defaults
- Perfect for learning and occasional use
- Skip prompts for faster execution
- Override defaults when needed
- Ideal for automation and scripts
- Consistent with CI/CD workflows