Tooling
Create command
Generate projects effortlessly with pre-built templates.
eli create <sub-command>
Easily generate a project using pre-built templates tailored for different types of development. Each template corresponds to a specific sub-command, designed to streamline the creation process for your project.
app
The eli create app
command scaffolds a new Flutter application with a best-practice structure, generating a clean architecture-inspired project with pre-configured settings to ensure consistency and save time on setup.
Usage: eli create app [arguments]
-h, --help Print this usage information.
--template The template to use
[empty_app (default)]
--project_name The project name
--org_name The organization name
--application_id The application id on Android, Bundle ID on iOS and company name on Windows. If omitted value will be formed by org_name + . + project_name.
--description Short project description
--[no-]is_azure Is this an Azure project?
--azure_project_name Azure DevOps project name
--azure_organization_name Azure DevOps organization name
--azure_template_version Azure DevOps template version
--azure_endpoint Azure DevOps endpoint
-o, --output The output directory
docs-site
Set up a new documentation site.
Usage: eli create docs-site [arguments]
-h, --help Print this usage information.
--project_name The site name
--org_name The organization name
--description A short description of the plugin
-o, --output The output directory
package
Create a new package, ideal for reusable code or libraries.
Usage: eli create package [arguments]
-h, --help Print this usage information.
--name The package name
--description A short description of the plugin
-o, --output The output directory
plugin
Generate a new plugin, ideal for invoking platform-specific code.
Usage: eli create plugin [arguments]
-h, --help Print this usage information.
--name The name of the flutter plugin
--org The organization name
--description A short description of the plugin
-o, --output The output directory
--platforms [android, ios, macos, linux, web, windows]