6 Commits

Author SHA1 Message Date
Jonathan Bernard
29959a6a8d Add REST API. Refactor config logic.
The REST API is simply a wrapper around the command line (and actually
invokes the command line). It relies on the command line tool validating
its input.

Currently only the `/list` endpoint is implemented, exposing the `list`
command.
2018-05-18 16:06:58 -05:00
Jonathan Bernard
063a869b51 Remove and ignore binary artifact. 2018-05-11 21:36:05 -05:00
Jonathan Bernard
34e01119a9 Initial WIP of new pit (Nim). 2018-05-11 18:39:40 -05:00
Jonathan Bernard
582bf819f5 Renamed libpit build artifacts. 2016-01-31 00:45:27 -06:00
Jonathan Bernard
fd94f0e41a PIT CLI Options -o (order issues), -D (daily list).
* Added the order issues option (`-o`) to pit-cli. This option allows you to
  specific a sorting criteria for the issues returned. The form of the option is
  `-o <property>,<property>` where the properties can be any properties of the
  issues being sorted. The option supports short one-letter forms of the basic
  properties (id, priority, status, and category).
* Added the daily list mode (activated with the `-D` option). This mode prints
  out the tasks scheduled for today (based on the `scheduled` property, the
  tasks due today (based on he `due` property), the issues which have a reminder
  that is active (based on the `reminder` property), and the remaining open
  issues (those which do not fall in any of the other categories). This mode
  looks through all projects in the given repository and does not do any
  filtering or visual seperation by project.

  The individual sections can be suppressed or singled out by using the
  following options.

    Additive options (if none are given all sections are present).

    * `--dl-scheduled`
    * `--dl-due`
    * `--dl-reminder`
    * `--dl-open`

    Negative options (these suppress a specific section).

    * `--dl-hide-scheduled`
    * `--dl-hide-due`
    * `--dl-hide-reminder`
    * `--dl-hide-open`

  Additive options are useful if you only want one or two sections. Negative
  options are useful if you only want to exclude one or two sections.  It does
  not make sense to use both additive options and negative options, but it is
  allowed.
2011-12-07 18:15:01 -06:00
Jonathan Bernard
8581782aee Added patch from 2.1.x, dir option to pit-cli. Added .gitignore 2011-05-27 11:59:54 -05:00