class

Hwaro::CLI::Commands::Tool::PlatformCommand

Inherits Reference / Object

Constants

DESCRIPTION = "Generate platform config and CI/CD workflow files"
FLAGS = [FlagInfo.new(short: "-o", long: "--output", description: "Output file path (default: auto-detected)", takes_value: true, value_hint: "PATH"), FlagInfo.new(short: nil, long: "--stdout", description: "Print to stdout instead of writing file"), FlagInfo.new(short: "-f", long: "--force", description: "Overwrite existing file without warning"), HELP_FLAG]
NAME = "platform"

Single source of truth for command metadata

POSITIONAL_ARGS = ["platform"]
POSITIONAL_CHOICES = Services::PlatformConfig::SUPPORTED_PLATFORMS

Class methods

metadata
Source

Instance methods

run(args : Array(String))
Source