/toml-cli-golang

A simple CLI for editing and querying TOML files.

Primary LanguageGoMIT LicenseMIT

toml-cli

A simple CLI for editing and querying TOML files.

This is the home of the toml command, a simple CLI for editing and querying TOML files.

Idea from gnprince/toml-cli, written in golang. and depends on pelletier/go-toml.

The intent of the toml command is to be useful

  • in shell scripts, for consulting or editing a config file
  • and in instructions a human can follow for editing a config file, as a command to copy-paste and run.

Usage

Get

$ toml-cli get ./sample/example.toml owner.dob
1979-05-27 07:32:00 -0800 -0800

Set

$ toml-cli set ./sample/example.toml owner.name MinseokOh
# modify owner.name to MinseokOh

Contributors

Made with contributors-img.