Command-line tool to parse, validate, and format TOML files
Dependencies
cat config.toml | toml_cli get .server.host
echo 'a = 1' | toml_cli checkmoon runwasm conglinyizhi/toml-cli --help
moon runwasm conglinyizhi/toml-cli check config.toml
moon runwasm conglinyizhi/toml-cli format config.toml
moon runwasm conglinyizhi/toml-cli get .server.host config.tomltoml [file] Parse TOML and print normalized TOML (default: stdin)
toml format [file] Parse TOML and print normalized TOML
toml check [file] Validate TOML without printing parsed output
toml tojson [file] Parse TOML and print it as JSON
toml get <path> [file] Print the value at a dotted pathmoon runwasm . # in this directory (wasm)
moon run --target native . -- --help # native buildfn read_source_file(path : String) -> String?Command-line tool to parse, validate, and format TOML files
Dependencies