#week #calendar #day-week #cli #command-line-tool

bin+lib week_calendar

week_calendar is a command line tool which shows calendar weeks. It provides the number of week and from which day it starts and on which day a week ends. Different intervals can be chosen. Year, month, or just one specific week.

1 unstable release

0.1.3 Jul 16, 2023

#14 in #week

MIT/Apache

20KB
328 lines

Purpose

Build status

week_calendar is a command line tool which shows calendar weeks. It provides the number of week and from which day it starts and on which day a week ends. Different intervals can be chosen. Year, month, or just one specific week.

How to install it

  1. Clone this repository
  2. Go into to the cloned folder
  3. Type the following command into the terminal
cargo install --path=. --force

Examples

Here little demonstration of the appliaction

week_calendar date 2023 6 30

Output:

+-------------+------------+------------+
| Week Number | From       | To         |
+-------------+------------+------------+
| 26          | 2023-06-26 | 2023-07-02 |
+-------------+------------+------------+

More examples for usage can be found here here.

Licenses

This appliaction can be used under MIT or Apache 2.0 at your choice

Dependencies

~5–13MB
~136K SLoC