go-nestedtext

NestedText in Go (alpha)
git clone https://git.torresjrjr.com/go-nestedtext.git
Log | Files | Refs | README | LICENSE

commit e9f43b99697f97c236b6034583972f2d7583f92f
parent 2f3a44489405719c60f6bd9c29de99f17f0e947b
Author: Byron Torres <b@torresjrjr.com>
Date:   Wed,  4 Aug 2021 01:20:41 +0100

Update README.md

Diffstat:
MREADME.md | 34+++++++++++++++++++++++++---------
1 file changed, 25 insertions(+), 9 deletions(-)

diff --git a/README.md b/README.md @@ -1,25 +1,37 @@ go-nestedtext ============= -[NestedText](https://nestedtext.org/) in Go. +[NestedText v1][1]\* in Go (alpha). -Early development. +Provides an executable which converts stdin NestedText to stdout JSON. +Future plans are to provide a simple library. -Currently only provides an executable which converts NestedText to JSON. -In the future, will provide a simple library package. +\* This implementation does not recognise quoted or multilined keys. +Build +----- -Install -------- - - $ git clone https://git.sr.ht/~torresjrjr/go-nestedtext $ go build -o nt Usage ----- - $ nt < file.nt + $ nt < data.nt + $ nt <<. + wizard: + name: Harry Potter + email: h.potter@hogwarts.ac.uk + address: + > 4 Pivet Drive + > Little Whinging + > Surrey + > England + possessions: + - elder wand + - resurrection stone + - invisibility cloak + . Resources @@ -31,3 +43,7 @@ Resources - Announcements: <~torresjrjr/go-nestedtext-announce@lists.sr.ht> - Development: <~torresjrjr/go-nestedtext-devel@lists.sr.ht> - Discussion: <~torresjrjr/go-nestedtext-discuss@lists.sr.ht> + + + [1]: https://nestedtext.org/ +