nethermit 0.1.0

A CLI tool to convert Jsonnet to YAML
Documentation

Nethermit

A simple CLI tool to convert Jsonnet files to YAML.

Installation

cargo install --path .

Usage

The tool accepts input either from a file or from standard input:

# Read from a file
nethermit config.jsonnet > output.yaml

# Read from stdin (pipe)
cat config.jsonnet | nethermit > output.yaml

# Read from stdin (explicit)
nethermit - < config.jsonnet > output.yaml

# Read from stdin (interactive)
nethermit
# Type or paste your Jsonnet code
# Press Ctrl+D (Unix) or Ctrl+Z (Windows) to finish

Features

  • Converts Jsonnet files to YAML format
  • Supports standard Jsonnet imports
  • Accepts input from files or stdin
  • Outputs to stdout for easy piping

Requirements

  • Rust 1.70 or later