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.
16 lines
371 B
Nim
16 lines
371 B
Nim
# Package
|
|
|
|
include "src/pitpkg/private/version.nim"
|
|
|
|
version = PIT_VERSION
|
|
author = "Jonathan Bernard"
|
|
description = "Personal issue tracker."
|
|
license = "MIT"
|
|
srcDir = "src"
|
|
bin = @["pit", "pit_api"]
|
|
|
|
# Dependencies
|
|
|
|
requires @[ "nim >= 0.18.0", "cliutils 0.3.5", "docopt 0.6.5", "jester 0.2.0",
|
|
"timeutils 0.3.0", "uuids 0.1.9" ]
|