cli_core 0.0.2-dev.4 copy "cli_core: ^0.0.2-dev.4" to clipboard
cli_core: ^0.0.2-dev.4 copied to clipboard

A shared utility package for CLI operations in Flutter Forge packages, providing utilities for CLI commands, Flutter project management, Melos workspace management, and file operations.

example/README.md

CLI Core Examples #

This directory contains examples demonstrating how to use the various utilities provided by the cli_core package.

What's Demonstrated #

  1. Flutter Commands

    • Creating new Flutter projects
    • Managing project files
    • Running Flutter commands
  2. Melos Commands

    • Managing dependencies with bootstrap
    • Cleaning workspaces
    • Mono-repo operations
  3. File Utilities

    • Directory creation and management
    • File operations (read, write, copy, delete)
    • YAML file handling
    • Mono-repo detection

Example Output #

// File Utility Examples
Directory created: output/logs
Config content: name: example
version: 1.0.0
description: An example configuration
Is mono-repo? true

// Flutter Command Examples
Creating Flutter project: my_app
Flutter project created successfully
Analysis options removed

// Melos Command Examples
Running melos bootstrap
Dependencies installed successfully
copied to clipboard
1
likes
150
points
189
downloads

Publisher

verified publisherdart.nonstopio.com

Weekly Downloads

2024.09.19 - 2025.04.03

A shared utility package for CLI operations in Flutter Forge packages, providing utilities for CLI commands, Flutter project management, Melos workspace management, and file operations.

Homepage
Repository (GitHub)
View/report issues

Topics

#cli #utilities #melos #flutter

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

mason, mason_logger, meta, path, universal_io

More

Packages that depend on cli_core