go-nestedtext

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

README.md (1003B)


      1 go-nestedtext
      2 =============
      3 
      4 [NestedText v1][1]\* in Go (alpha).
      5 
      6 Provides an executable which converts stdin NestedText to stdout JSON.
      7 Future plans are to provide a `jq` like interface and a simple library.
      8 
      9 \* This implementation does not recognise quoted or multi-lined keys,
     10 in the interest of simplicity against needless complexity.
     11 
     12 
     13 Build
     14 -----
     15 
     16 	$ go build -o nt
     17 
     18 
     19 Usage
     20 -----
     21 
     22 	$ nt < data.nt
     23 	$ nt <<EOF
     24 	wizard:
     25 		name: Harry Potter
     26 		email: h.potter@hogwarts.ac.uk
     27 		address:
     28 			> 4 Pivet Drive
     29 			> Little Whinging
     30 			> Surrey
     31 			> England
     32 		possessions:
     33 			- elder wand
     34 			- resurrection stone
     35 			- invisibility cloak
     36 	EOF
     37 
     38 
     39 Resources
     40 ---------
     41 
     42 - License: GNU General Public License
     43 - Project site: <https://sr.ht/~torresjrjr/go-nestedtext>
     44 - Mailing lists:
     45   - Announcements: <~torresjrjr/go-nestedtext-announce@lists.sr.ht>
     46   - Development: <~torresjrjr/go-nestedtext-devel@lists.sr.ht>
     47   - Discussion: <~torresjrjr/go-nestedtext-discuss@lists.sr.ht>
     48 
     49 
     50   [1]: https://nestedtext.org/
     51