Hwaro::CLI::Commands::Tool::ConvertCommand
Inherits Reference / Object
Constants
DESCRIPTION = "Convert frontmatter format (TOML / YAML / JSON)"
FLAGS = [CONTENT_DIR_FLAG, JSON_FLAG, HELP_FLAG]
Flags defined here are used both for OptionParser and completion generation
NAME = "convert"
Single source of truth for command metadata
POSITIONAL_ARGS = ["format"]
POSITIONAL_CHOICES = ["to-yaml", "to-toml", "to-json"]
Class methods
metadata
SourceInstance methods
run(args : Array(String))
Source