Rename project to jrnlwarrior
This commit is contained in:
parent
38984a1688
commit
d93316628a
2 changed files with 2 additions and 2 deletions
|
@ -161,7 +161,7 @@ def is_today(cur_date):
|
||||||
|
|
||||||
def add_today(fname, options):
|
def add_today(fname, options):
|
||||||
cmd = ["task", "+TODAY or +OVERDUE", "export"]
|
cmd = ["task", "+TODAY or +OVERDUE", "export"]
|
||||||
tasks = f"[{TODAY} 21:00] {options.todo_block_title}\n"
|
tasks = f"[{TODAY} 09:00] {options.todo_block_title}\n"
|
||||||
for task in json.loads(check_output(cmd)):
|
for task in json.loads(check_output(cmd)):
|
||||||
tasks += f"{task['description']}\n"
|
tasks += f"{task['description']}\n"
|
||||||
|
|
|
@ -44,7 +44,7 @@ def parse_cmdline_args(options):
|
||||||
"-n", "--dryrun", help="only simulate and print changes", action="store_true"
|
"-n", "--dryrun", help="only simulate and print changes", action="store_true"
|
||||||
)
|
)
|
||||||
parser.add_argument("-f", "--file", help="the jrnl file to ingest")
|
parser.add_argument("-f", "--file", help="the jrnl file to ingest")
|
||||||
parser.add_argument("-b", "--blocktitle", help="the jrnl file to ingest")
|
parser.add_argument("-b", "--blocktitle", help="the title of entries to parse")
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"-L",
|
"-L",
|
||||||
"--nologging",
|
"--nologging",
|
||||||
|
|
Loading…
Reference in a new issue