animatrix_cli 1.0.2 copy "animatrix_cli: ^1.0.2" to clipboard
animatrix_cli: ^1.0.2 copied to clipboard

A CLI tool to add Animatrix UI components to your Flutter project.

aniamtrix_log

Animatrix CLI #

A command-line interface tool for easily adding pre-built UI components from the Animatrix library to your Flutter project.

Pub Version

Features #

  • πŸš€ Quickly add pre-built UI animated components to your project
  • πŸ”„ Automatic updates checking
  • 🎨 Colorful console output for better user experience
  • ⚑ Simple and intuitive commands

Installation #

You can install the Animatrix CLI globally using the Dart pub tool:

dart pub global activate animatrix_cli

Usage #

To add a component to your Flutter project:

animatrix add <ComponentName>

The component will be added to your project's lib/ui/ directory. If the directory doesn't exist, it will be created automatically.

Example #

animatrix add gradient_text

This will:

  1. Create the lib/ui/ directory if it doesn't exist
  2. Fetch the CustomButton component from the Animatrix repository
  3. Create gradient_text.dart in your lib/ui/ directory

Requirements #

  • Dart SDK: Any stable version
  • An active internet connection to fetch components
  • A Flutter project structure

Dependencies #

  • args: For parsing command-line arguments
  • http: For making HTTP requests
  • path: For handling file paths
  • ansicolor: For colored console output
  • pub_updater: For checking package updates

Error Handling #

The CLI provides clear error messages for common issues:

  • When a component already exists in your project
  • When a component is not found in the Animatrix repository
  • When there are network connectivity issues
  • When invalid commands are used

Updates #

The CLI automatically checks for updates when running commands. When a new version is available, you'll be notified with instructions on how to update.

License #

This project is licensed under the MIT License - see the LICENSE file for details.

Version #

Current Version: 1.0.1+3

0
likes
110
points
19
downloads

Publisher

unverified uploader

Weekly Downloads

A CLI tool to add Animatrix UI components to your Flutter project.

Repository (GitHub)

Topics

#cli #animation #animatrix #bash #widget

Documentation

API reference

License

MIT (license)

Dependencies

ansicolor, args, http, logger, path, pub_updater

More

Packages that depend on animatrix_cli