tools/tools library

Morpheme CLI Tools Module

This module provides utility commands for managing the Morpheme CLI tool and assisting with project setup and maintenance.

Available commands:

  • DoctorCommand: Diagnose development environment and tool availability
  • InitCommand: Initialize a new project with Morpheme configuration
  • RenameCommand: Rename files to snake_case with prefix/suffix options
  • UpgradeCommand: Upgrade Morpheme CLI to the latest version

Each command is designed to streamline Flutter development workflows and provide helpful feedback to developers.

Classes

DoctorCommand
Command to check the health and availability of required development tools.
InitCommand
Command to initialize a new Morpheme project with default configuration.
RenameCommand
Command to rename files to snake_case with optional prefix and suffix.
RenameOperation
Represents a planned file rename operation.
RenameOptions
Configuration options for the rename operation.
ToolCheck
Configuration for a tool check.
UpgradeCommand
Command to upgrade Morpheme CLI to the latest version.