yellowjacket
yellowjacket
A quick cli tool that translates YAML to JSON.
Installation
- Build the program with
shards build
- Install the program by adding
build/yellowjacket
to your PATH somehow
Usage
$ cat zoo.yml
animals:
- lion
- tiger
# when no arguments are provides, reads from STDIN
$ cat zoo.yml | yellowjacket
{"animals":["lion","tiger"]}
# when provided one argument, reads that as a file
$ yellowjacket zoo.yml
{"animals":["lion","tiger"]}
# when provided more than one argument, reminds you that you should provide 0 or 1 argument
$ yellowjacket zoo.yml zoo2.yml
usage: yellowjacket [FILENAME]
Contributing
- Fork it (https://github.com/willamin/yellowjacket/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Will Lewis - creator and maintainer
Repository
yellowjacket
Owner
Statistic
- 1
- 0
- 0
- 0
- 0
- over 2 years ago
- April 22, 2020
License
MIT License
Links
Synced at
Thu, 21 Nov 2024 22:27:29 GMT
Languages