From a6141414250ae1838698a50005a473374028ba59 Mon Sep 17 00:00:00 2001 From: David Renshaw Date: Sun, 11 May 2014 11:25:35 -0400 Subject: [PATCH] command line example --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 06b67ba..82e9717 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,11 @@ This is an experimental pure Java implementation of Cap'n Proto. -It doesn't do much yet. +To get started, try this: ``` -make +$ make +$ cd examples +$ echo '(people = [(id = 123, name = "Alice", email = "alice@example.com", employment = (school = "MIT"))])' \ + | capnp encode addressbook.capnp AddressBook | java -cp .:.. AddressbookMain read ``` \ No newline at end of file