Skip to content

A simple CLI for editing and querying TOML files.

License

Notifications You must be signed in to change notification settings

MinseokOh/toml-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.