The puffytools package

[Tags:bsd3, library, program, test]

A CLI-based personal assistant. It will keep journal entries, remind you of things, remind others of things, keep dates for you, etc.


[Skip to Readme]

Properties

Versions 0.0.0.1
Dependencies aeson (>=0.7), aeson-pretty (>=0.7), base (>=4 && <4.8), bytestring (==0.10.*), console-program (>=0.3.2 && <0.4), containers (==0.5.*), directory (==1.2.*), MissingH (==1.3.*), old-locale (>=1.0), puffytools, random-fu (==0.2.*), safe (==0.3.*), text (>=0.10), time (==1.4.*), vector (==0.10.*) [details]
License BSD3
Copyright 2014, Peter Harpending
Author Peter Harpending
Maintainer pharpend2@gmail.com
Stability Unknown
Category Utility
Home page https://github.com/pharpend/puffytools
Bug tracker https://github.com/pharpend/puffytools/issues
Source repository head: git clone git://github.com/pharpend/puffytools.git
Uploaded Sat Dec 6 00:33:37 UTC 2014 by pharpend
Distributions NixOS:0.0.0.1
Downloads 213 total (5 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for puffytools

Readme for puffytools-0.0.0.1

puffytools, version 0.0.0.1

This is the Puffy Toolkit, or Ptk. Ptk is a command-line "personal assistant", of sorts. Currently, it will keep journals. I'm adding more functionality as I can. Pull requests are welcome, although do read the "Development version" section below.

Installation and usage

You can install the experimental version from Hackage. If you use Windows or OS X, you'll need to install the Haskell Platform. On Linux or BSD, your distribution should have the packages ghc and cabal-install. The GHC version must be 7.8 or later. Install those, then run:

cabal update
cabal install puffytools

If the installation fails, you may need to install an updated version of cabal-install, alex, and happy:

cabal install cabal-install alex happy
cabal install puffytools

Development version

If you want the development version, the steps are a bit different.

git clone git://github.com/pharpend/puffytools.git -b develop
cd puffytools
cabal sandbox init
cabal install --enable-tests

I use gitflow as a branching model, so read about that if you have never heard about it. I don't particularly care what branching model you use, as long as you don't commit to the master or develop branches.

Usage

ptk
The Puffy Toolkit, version 0.0.0

  j
  Same as journal.
  
    add_entry slug STRING
    Add an entry to journal with a given slug. The second argument is the entry text.
    
    
    ae slug STRING
    Same as add_entry
    
    
    cat slug
    Output the raw journal
    
    
    list
    List all of the available journals
    
    
    ls
    Same as list
    
    
    list_entries JOURNAL_SLUG
    List the entries in a given journal
            --time-format=STRING,
      --strftime=STRING          The format with which to print timestamps. See `man strftime` for more information.
    
    
    le JOURNAL_SLUG
    Same as listEntries
            --time-format=STRING,
      --strftime=STRING          The format with which to print timestamps. See `man strftime` for more information.
    
    
    new
    Create a new journal
      -sSTRING,
      -nSTRING --slug=STRING,
      --name=STRING                 The slug/short name of the journal.
      -tSTRING --title=STRING       The title of the journal
      -dSTRING --description=STRING The journal Description
    
    
    help
    Show help for the journal module
    
    
  
  journal
  Do things with Journals
  
    add_entry slug STRING
    Add an entry to journal with a given slug. The second argument is the entry text.
    
    
    ae slug STRING
    Same as add_entry
    
    
    cat slug
    Output the raw journal
    
    
    list
    List all of the available journals
    
    
    ls
    Same as list
    
    
    list_entries JOURNAL_SLUG
    List the entries in a given journal
            --time-format=STRING,
      --strftime=STRING          The format with which to print timestamps. See `man strftime` for more information.
    
    
    le JOURNAL_SLUG
    Same as listEntries
            --time-format=STRING,
      --strftime=STRING          The format with which to print timestamps. See `man strftime` for more information.
    
    
    new
    Create a new journal
      -sSTRING,
      -nSTRING --slug=STRING,
      --name=STRING                 The slug/short name of the journal.
      -tSTRING --title=STRING       The title of the journal
      -dSTRING --description=STRING The journal Description
    
    
    help
    Show help for the journal module
    
    
  
  help
  Show this help menu.
  
  
  version
  Print the version to the console. Meant for use in other programs.
  
  
  shell
  PTK REPL (Expiremental).

Licensing

Like most Haskell packages, Ptk is licensed under the BSD-3 license. You can see the LICENSE file for more information.