flai_cli library

Classes

AddCommand
flai add <component> — install a component and its dependencies.
BrickCategory
Categories used to group components in the CLI output.
BrickInfo
Metadata for a single FlAI component brick.
BrickRegistry
Static registry of all available FlAI component bricks.
DependencyResolver
Resolves the full, ordered dependency graph for a component.
DoctorCommand
flai doctor — check project health and configuration.
FlaiCommandRunner
Top-level command runner for the FlAI CLI.
FlaiConfig
Represents the contents of a project's flai.yaml.
FlaiConfigManager
Utilities for reading and writing the flai.yaml configuration file.
InitCommand
flai init — initialise FlAI in the current Flutter project.
ListCommand
flai list — list all available components with install status.

Constants

kConfigFileName → const String
The default name of the FlAI configuration file.

Functions

isFlutterProject(String directory) bool
Checks whether directory looks like a Flutter project.

Exceptions / Errors

UsageException