devtui yamlstruct
Convert YAML to Go struct
Synopsis
Convert YAML input into a Go struct definition.
Input can be a string argument or piped from stdin.
devtui yamlstruct [string or file] [flags]
Examples
# Convert YAML from stdin
devtui yamlstruct < config.yaml
cat config.yaml | devtui yamlstruct
# Convert YAML string argument
devtui yamlstruct 'name: Alice\nage: 30'
# Output to file
devtui yamlstruct < input.yaml > struct.go
Options
-h, --help help for yamlstruct