flai_cli 0.2.0 copy "flai_cli: ^0.2.0" to clipboard
flai_cli: ^0.2.0 copied to clipboard

CLI tool for installing FlAI AI chat components into Flutter projects. A shadcn/ui-style distribution model — own your component source code.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate flai_cli

Use it

The package has the following executables:

$ flai

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add flai_cli

With Flutter:

 $ flutter pub add flai_cli

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  flai_cli: ^0.2.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:flai_cli/flai_cli.dart';
0
likes
150
points
110
downloads

Documentation

API reference

Publisher

verified publishergetflai.dev

Weekly Downloads

CLI tool for installing FlAI AI chat components into Flutter projects. A shadcn/ui-style distribution model — own your component source code.

Homepage
Repository (GitHub)
View/report issues

Topics

#flutter #ai #chat #ui-components #cli

License

MIT (license)

Dependencies

args, mason, path, yaml, yaml_edit

More

Packages that depend on flai_cli