AGENT SKILL

toml2json

Use this skill when the user wants to convert TOML files to JSON format, or pipe TOML data through stdin to get JSON output.

License 许可
MIT
所属仓库
javimosch/supercli
最近更新
2026-11-02
Stars
★ 57
Forks
5

01 前言 Front Matter

name
toml2json
description
Use this skill when the user wants to convert TOML files to JSON format, or pipe TOML data through stdin to get JSON output.

03 SKILL.md 正文

toml2json Plugin

Very small CLI for converting TOML to JSON.

Commands

Convert

  • toml2json convert file — Convert a TOML file to JSON
  • toml2json convert pretty — Convert TOML to pretty-printed JSON

Usage Examples

  • "Convert a TOML file to JSON"
  • "Pretty-print a TOML configuration as JSON"
  • "Pipe TOML data and convert it"

Installation

cargo install toml2json

Examples

# Convert a file
toml2json config.toml

# Pretty-print
toml2json --pretty config.toml

# Pipe from stdin
cat config.toml | toml2json

# Use with jq
toml2json config.toml | jq '.key'

Key Features

  • Convert TOML to JSON
  • Read from files or stdin
  • Pretty-print output option
  • Pipe-friendly for shell workflows

04 同仓库更多 Skills