diff options
-rw-r--r-- | NEW_CLI.md | 2 | ||||
-rwxr-xr-x | tests/tests_kal.sh | 4 |
2 files changed, 1 insertions, 5 deletions
@@ -76,7 +76,7 @@ sum_hours will sum the duration of all objects. For tasks and events in the fut The `pin` subcommand will "pin" one or more todo-items to some specific time on the calendar. Duration will be copied. The tasks will be serialized. If there are conflicting events in the same calendar, the tasks will be put after the conflicting events. No checks will be done to ensure that the tasks ends up within ordinary working hours, outside the night hours or before the due date. Or perhaps some sanity checks should be done ... it will be a lot of cleanup-work to be done if one accidentally forgets "-1" and adds some hundreds of items to the calendar ... -```kal select --todo --categories=housework --smart-sort --limit=3 pin '2021-12-02 16:00' +```kal select --todo --categories=housework --smart-sort --limit=3 pin '2021-12-02 16:00'``` ### Time tracking diff --git a/tests/tests_kal.sh b/tests/tests_kal.sh index d613a11..4d3019d 100755 --- a/tests/tests_kal.sh +++ b/tests/tests_kal.sh @@ -1,7 +1,5 @@ #!/bin/bash -## TODO: all references to calendar-cli should be replaced with references to kal. Work in progress! - set -e ######################################################################## @@ -205,8 +203,6 @@ kal select --todo --sort-key='{CATEGORIES.cats[0]:?zzz?}' --sort-key=-CLASS --l echo "## Editing the task" kal select --todo --category scripttest edit --set-summary "editing" --add-category "scripttest2" -## TODO: add tests for multiple sort keys - echo "## Verifying that the edits got through" kal select --todo --category scripttest list [ $(echo "$output" | wc -l) == 1 ] && echo "## OK: found the todo item we just edited and nothing more" |