Switch to a command-line API closer to TaskWarrior
* Use a parser (rather than clap) to process the command line * Outline some generic support for filtering, reporting, modifying, etc. * Break argument parsing strictly from invocation, to allow independent testing
This commit is contained in:
@@ -1,19 +1,26 @@
|
||||
[package]
|
||||
name = "taskchampion-cli"
|
||||
version = "0.2.0"
|
||||
authors = ["Dustin J. Mitchell <dustin@mozilla.com>"]
|
||||
edition = "2018"
|
||||
name = "taskchampion-cli"
|
||||
version = "0.2.0"
|
||||
|
||||
[dependencies]
|
||||
clap = "^2.33.0"
|
||||
taskchampion = { path = "../taskchampion" }
|
||||
failure = "^0.1.8"
|
||||
prettytable-rs = "^0.8.0"
|
||||
config = { version="^0.10.1", default-features=false, features=["yaml"] }
|
||||
dirs = "^3.0.1"
|
||||
log = "^0.4.11"
|
||||
env_logger = "^0.8.2"
|
||||
failure = "^0.1.8"
|
||||
log = "^0.4.11"
|
||||
nom = "*"
|
||||
prettytable-rs = "^0.8.0"
|
||||
|
||||
[dependencies.config]
|
||||
default-features = false
|
||||
features = ["yaml"]
|
||||
version = "^0.10.1"
|
||||
|
||||
[dependencies.taskchampion]
|
||||
path = "../taskchampion"
|
||||
|
||||
[dev-dependencies]
|
||||
assert_cmd = "^1.0.1"
|
||||
predicates = "^1.0.5"
|
||||
tempdir = "^0.3.7"
|
||||
|
||||
Reference in New Issue
Block a user