flawless_cli 0.1.0-alpha.6 copy "flawless_cli: ^0.1.0-alpha.6" to clipboard
flawless_cli: ^0.1.0-alpha.6 copied to clipboard

Command-line tools for bootstrapping and managing Flawless UI in Flutter projects.

flawless_cli #

The official CLI for the Flawless theming and component system for Flutter. Scaffold, add, and manage themes and components with ease.

Architecture & Extensibility #

  • Commands: Each CLI command is implemented in its own class in lib/src/commands/, following the ICommand interface for consistency and testability.
  • File System: All file operations are abstracted via IFileSystem for easy testing and future extension.
  • Entry Point: The CLI entry point (bin/flawless_cli.dart) only routes commands and awaits their execution.
  • Async & DI: All commands are async and can accept dependencies for maximum flexibility.

Usage #

Install globally:

dart pub global activate flawless_cli

Run commands:

flawless_cli init
flawless_cli add theme material3
flawless_cli add component button
flawless_cli list
flawless_cli docs

Contributing #

  • Add new commands by implementing ICommand and registering in the entry point.
  • Write unit tests for command logic and utilities.
  • Document new features and usage in this README.
0
likes
160
points
328
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Command-line tools for bootstrapping and managing Flawless UI in Flutter projects.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#cli #flutter #ui #design-system #tooling

License

MIT (license)

Dependencies

args, path, pubspec_parse, yaml_edit

More

Packages that depend on flawless_cli