Skip to content

Adding DSU entries

Gene M. Angelo, Jr edited this page Jan 5, 2024 · 12 revisions

Adding DSU entry using this command will add the DSU entry for the given day or date, and then display the DSU entries for that day or date.

dsu add [OPTIONS] DESCRIPTION

dsu a [OPTIONS] DESCRIPTION

If no OPTION is provided, the DSU entry will be be added to the current date.

NOTE: You cannot add duplicate entries for the same day; that is, entry DESCRIPTIONS need to be unique within an entry group for the given day.

Today

Adding a DSU entry for the current day (today), you can use the -n|--today option. Today (-n) is the default; therefore, the -n flag is optional if you want to add a DSU entry for the current day (today).

dsu add [-n|--today] "Pair with John on ticket IN-12345"

This accomplishes the same as above; -n and --today are optional for today.

`dsu a "Pair with John on ticket IN-12345"

Yesterday

Adding a DSU entry for yesterday's date, you can use the -y| --yesterday option.

dsu add --yesterday "Pick up ticket IN-12345"

dsu a -y "Pick up ticket IN-12345"

Tomorrow

Add a DSU entry for tomorrow, you can use the -t|--tomorrow option.

dsu add --tomorrow "Pick up ticket IN-12345"

dsu a -t "Pick up ticket IN-12345"

Miscellaneous Date

Adding a miscellaneous date you can use the --date | -d option.

  • When omitting year, dates must be entered in MM/DD format.
  • When including year, dates must be entered in YYYY/MM/DD format.
  • When omitting YYYY, the current year is assumed.

dsu add --date 2023/12/31 "Attend New Years Coffee Meet & Greet"

This accomplishes the same thing as above assuming the current year is 2023.

dsu a -d 12/31 "Attend New Years Coffee Meet & Greet"

More info on Dates, MNEMONICS and relative date MNEMONICS

See the Dates, MNEMONICS and relative date MNEMONICS page for more information on acceptable DATE formats used by dsu, MNEMONICS and relative date MNEMONICS.