dot_testing/builds/utils/khal-template

53 lines
1.6 KiB
Plaintext
Raw Permalink Normal View History

#!/bin/sh
2024-08-26 16:10:07 -05:00
print_help() {
echo "
2024-12-25 07:29:11 -06:00
khal-template -- a tool for automatically making calendar templates
and events on certain days
2024-08-26 16:10:07 -05:00
2024-12-25 07:29:11 -06:00
usage: khal-template <template_name> [template_time]
to add the regular schedule for today:
$ khal-template regular
to add the regular schedule for tomorrow:
$ khal-template regular tomorrow
templates:
- regular -- regular schedule
- late -- late start schedule
2024-08-26 16:10:07 -05:00
"
}
case $1 in
"regular")
2024-08-26 16:10:07 -05:00
khal new -g school -a home $2 07:40 08:27 AP Computer Science
khal new -g school -a home $2 08:34 09:19 Chemistry I H
khal new -g school -a home $2 09:29 10:14 AP Precalculus
2024-09-17 02:39:16 -05:00
khal new -g school -a home $2 10:21 11:06 AP European History
khal new -g school -a home $2 11:06 11:08 Flex Check time
2024-08-26 16:10:07 -05:00
khal new -g school -a home $2 11:15 12:05 Wind Ensemble H
khal new -g school -a home $2 12:12 12:37 SAIL
khal new -g school -a home $2 12:37 13:02 Lunch
khal new -g school -a home $2 13:09 13:54 English II H
khal new -g school -a home $2 14:01 14:47 Spanish III H
;;
"late")
2024-08-26 16:10:07 -05:00
khal new -g school -a home $2 08:25 09:08 AP Computer Science
khal new -g school -a home $2 09:15 09:56 Chemistry I H
khal new -g school -a home $2 10:06 10:47 AP Precalculus
2024-09-17 02:39:16 -05:00
khal new -g school -a home $2 10:54 11:33 AP European History
khal new -g school -a home $2 11:33 11:35 Flex Check time
2024-08-26 16:10:07 -05:00
khal new -g school -a home $2 11:41 12:22 Wind Ensemble H
khal new -g school -a home $2 12:29 13:10 Lunch
khal new -g school -a home $2 13:17 13:58 English II H
khal new -g school -a home $2 14:05 14:47 Spanish III H
;;
*)
print_help
;;
2024-05-01 07:46:42 -05:00
"help")
2024-08-26 16:10:07 -05:00
print_help
;;
esac