From 604b0a53eab5b81ceaafe16138a210997d600cc4 Mon Sep 17 00:00:00 2001 From: khamidou Date: Fri, 5 Feb 2010 09:35:26 +0100 Subject: [PATCH] added content to the readme --- README | 36 ++++++++++++++++++++++++++++++++++++ liszt | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/README b/README index 048f718..7e6db18 100644 --- a/README +++ b/README @@ -1 +1,37 @@ This is liszt, a command line interface to the todoliszt.com api. + +liszt supports (at the moment) three modes of operation : showing, creating, removing a list or +an element of a list. + +Basic Usage +=========== + +* Creating a list + + liszt create "my list" + Shortcuts : instead of "create", "c" + if the name of the list is a single word, you can get rid of the quotation marks. + +* Creating a entry in an already existing list + + liszt create "my list" "my entry" + Shortcuts : you can ommit the quotation marks altogether. Liszt will assume that the name of the list is a + single word and add the rest of the words to the contents of the entry. + +* Getting the contents of a list + + liszt show "my list" gets the contents of the list "my list". + Shortcuts : the name of the list is globbable (liszt show "my *" will print the same results) - if there are multiple matches, + liszt will ask you a globbing sub-pattern to narrow down the search. + +* Getting the contents of an entry + + liszt show "my list" entry_index displays the contents of the entry #entry_index. + + The format of output of an entry is first the index of the entry in the list, then its description, its creation date and finally if it's done. + The fields are separated by tabs. + +* Removing a list + + list remove "my list" + list remove "my list" entry_index diff --git a/liszt b/liszt index 64abcd7..62bab4e 100755 --- a/liszt +++ b/liszt @@ -17,7 +17,7 @@ except ImportError: import simplejson as json -base = "http://0.0.0.0:8080/api" +base = "http://todoliszt.com/api/v1" conf = ConfigParser.RawConfigParser() conf.read(os.path.expanduser('~/.liszt/config')) -- 2.43.0