puffytools: A CLI assistant

[ bsd3, library, program, utility ] [ Propose Tags ] [ Report a vulnerability ]

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]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.0.1
Dependencies aeson (>=0.7), aeson-pretty (>=0.7), base (>=4 && <4.8), bytestring (>=0.10 && <0.11), console-program (>=0.3.2 && <0.4), containers (>=0.5 && <0.6), directory (>=1.2 && <1.3), MissingH (>=1.3 && <1.4), old-locale (>=1.0), puffytools, random-fu (>=0.2 && <0.3), safe (>=0.3 && <0.4), text (>=0.10), time (>=1.4 && <1.5), vector (>=0.10 && <0.11) [details]
License BSD-3-Clause
Copyright 2014, Peter Harpending
Author Peter Harpending
Maintainer pharpend2@gmail.com
Category Utility
Home page https://github.com/pharpend/puffytools
Bug tracker https://github.com/pharpend/puffytools/issues
Source repo head: git clone git://github.com/pharpend/puffytools.git
Uploaded by pharpend at 2014-12-06T00:33:37Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables ptk
Downloads 1029 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for puffytools-0.0.0.1

[back to package description]

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.