Skip to content

lalloni/pancon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pancon

Simple tool for converting between TOML, YAML and JSON.

Use

Convert file:

pancon -i <infile> -o <outfile>

Used that way, pancon tries to guess input and output file formats from extension.

You can specify formats too:

pancon -i <infile> -d <informat> -o <outfile> -e <outformat>

Where <informat> and <outformat> can be one of:

  • json
  • yaml
  • toml

When <infile> and/or <outfile> are not specified or are specified as a single "-", pancon will use stdin or stdout for reading from and/or writing to.

Install

From source:

go get github.com/lalloni/pancon

About

Simple YAML, TOML, JSON converter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages