]> khamidou — GitHub mirrors - liszt.git/commitdiff
added content to the readme
authorkhamidou <khamidou@gmail.com>
Fri, 5 Feb 2010 08:35:26 +0000 (09:35 +0100)
committerkhamidou <khamidou@gmail.com>
Fri, 5 Feb 2010 08:35:26 +0000 (09:35 +0100)
README
liszt

diff --git a/README b/README
index 048f71833a0d8c8a1684eb6147e14731fa15d2de..7e6db186713fff4a1f6b31e89eca7f69c5790d3e 100644 (file)
--- 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 64abcd762610bd559a27e881fb9ef8981b3fa5f5..62bab4ed735529b73a5bef9888ea0642a7ec435e 100755 (executable)
--- 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'))