Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Comment: | Update README to reflect it works again |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/issue1 | trunk | master |
Files: | files | file ages | folders |
SHA3-256: |
02acc587fcea091032726b82e6a52a1e |
User & Date: | base@atomicules.co.uk 2016-12-03 00:07:11 |
2016-12-04
| ||
15:09 |
hlint changes
- Duplication between curldelete and curlput still exists, but I think is | |
2016-12-03
| ||
00:07 | Update README to reflect it works again check-in: 02acc587fc user: base@atomicules.co.uk tags: master, origin/issue1, trunk | |
2016-12-02
| ||
23:28 |
Add back in "new" todo functionality.
Now, finally, has the same functionality it did four years ago! But is a messy piece of crap. In fact it's pretty horrible, but it works Things of note: - Remembered why I needed Just/Maybe on the curlpost | |
Changes to README.markdown.
1 2 3 4 5 6 | #Haskerdeux - A Simple Command Line Client for Teuxdeux in Haskell Written with the dual purpose of being a learning exercise for Haskell and also because I really wanted a command line tool for [Teuxdeux](http://teuxdeux.com). As it stands this is a bit rough and ready, but it does work. ##Status | > | < > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | #Haskerdeux - A Simple Command Line Client for Teuxdeux in Haskell Written with the dual purpose of being a learning exercise for Haskell and also because I really wanted a command line tool for [Teuxdeux](http://teuxdeux.com). As it stands this is a bit rough and ready, but it does work. ##Status Alive! Official status is "Messy and works for me, unlikely to improve"; It was dead for years because I didn't think it was possible to get the new API to work. ##Requirements You need the following Haskell packages installed: - Data.List.Split - Text.JSON I also suggest you compile it to use it - it's much faster to use that way. Just do `ghc --make haskerdeux.hs`. If you don't compile it then replace `./haskerdeux` in the examples below with `runhaskell haskerdeux.hs`. ##Features/Commands Haskerdeux currently includes the following commands: ###Today |
︙ | ︙ | |||
36 37 38 39 40 41 42 | You can use those numbers with the PutOff and CheckOff commands. ###New For creating new tasks | | < < < < < < | < < | | | > | < < < < < > | < < > | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | You can use those numbers with the PutOff and CheckOff commands. ###New For creating new tasks `haskerdeux new "<A todo item>"` ###PutOff For putting off a task until tomorrow. `haskerdeux putoff <tasknumber from today list>` E.g: `haskerdeux putoff 3` ###MoveTo For moving a task to another date. `haskerdeux moveto <tasknumber from today list> <date in YYYY:MM:DD>` E.g: `haskerdeux moveto 11 2012-09-01` ###CrossOff For marking a task as complete `haskerdeux crossoff <tasknumber from today list>` ###Delete For completely removing a task `haskerdeux delete <tasknumber from today list>` ##Using .netrc For Storing Username and Password It's compulsory. It used to support passing username/password as command line args, but no more. The `<username>` and `<password>` are read from `.netrc`. Just add an entry to `.netrc` as follows: machine teuxdeux.com login superprocrastinator password mysecretpassword Or the single line format: machine teuxdeux.com loging superprocrastinator password mysecretpassword It should work ok with either format. It won't work if you have spaces in your password though. ##Development Nope. ##Thanks Some resources that helped me figure this out: - [A Haskell Newbies Guide to Text.JSON](http://www.amateurtopologist.com/blog/2010/11/05/a-haskell-newbies-guide-to-text-json/) and especially the comments explaining the generic approach. - For the new API and making me realise it was possible to make this work once again, [dmi3's TeuxDeux Unofficial API for Python](https://github.com/dmi3/teuxdeux). |