silos

Crates.iosilos
lib.rssilos
version0.1.2
sourcesrc
created_at2024-11-19 06:49:38.147329
updated_at2024-11-23 07:20:08.607206
descriptionYAML/JSON conversion cli tool
homepage
repositoryhttps://github.com/juanmilkah/silos
max_upload_size
id1452966
size55,078
Juan Milkah (juanmilkah)

documentation

README

Silos 🔄

Overview

Silos is a lightweight command-line utility for converting between YAML and JSON file formats with ease.

Features

  • Convert YAML to JSON
  • Convert JSON to YAML
  • Support for file input and output
  • Simple and intuitive CLI

Installation

cargo install silos

Usage

Convert YAML to JSON

silos path/to/file.yaml --json [-o output.json]

Convert JSON to YAML

silos path/to/file.json --yaml [-o output.yaml]

Options

  • filepath: Path to the input file (required)
  • --json, -j: Convert to JSON format
  • --yaml, -y: Convert to YAML format
  • --output, -o: Optional output file path (prints to console if not specified)

Requirements

  • Rust
  • Cargo

Dependencies

  • serde
  • serde_json
  • serde_yaml
  • structopt

License

The GNU General Public License v3.0

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss proposed modifications.

Commit count: 12

cargo fmt