diff --git a/pit.nimble b/pit.nimble index ec94200..f2ec23d 100644 --- a/pit.nimble +++ b/pit.nimble @@ -1,6 +1,6 @@ # Package -version = "4.7.1" +version = "4.8.0" author = "Jonathan Bernard" description = "Personal issue tracker." license = "MIT" diff --git a/src/pit.nim b/src/pit.nim index fdb4425..c357fdf 100644 --- a/src/pit.nim +++ b/src/pit.nim @@ -288,6 +288,8 @@ Options: configured in the .pitrc file) --term-width Manually set the terminal width to use. + + --ptk Enable PTK integration for this command. """ logging.addHandler(newConsoleLogger()) @@ -402,7 +404,7 @@ Options: if targetState == Done: issue["completed"] = getTime().local.formatIso8601 issue.changeState(ctx.tasksDir, targetState) - if ctx.triggerPtk: + if ctx.triggerPtk or args["--ptk"]: if targetState == Current: let issue = ctx.tasksDir.loadIssueById($(args[""][0])) var cmd = "ptk start" diff --git a/src/pitpkg/version.nim b/src/pitpkg/version.nim index 78ca2f6..1bbf312 100644 --- a/src/pitpkg/version.nim +++ b/src/pitpkg/version.nim @@ -1 +1 @@ -const PIT_VERSION* = "4.7.1" \ No newline at end of file +const PIT_VERSION* = "4.8.0" \ No newline at end of file