cli_core 0.0.2-dev.4
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.
CLI Core Examples #
This directory contains examples demonstrating how to use the various utilities provided by the cli_core
package.
What's Demonstrated #
-
Flutter Commands
- Creating new Flutter projects
- Managing project files
- Running Flutter commands
-
Melos Commands
- Managing dependencies with bootstrap
- Cleaning workspaces
- Mono-repo operations
-
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