cw

Aren't you also annoyed by people, who say XYZ will take place in calendar week XX? cw comes to solve this issue! It is a commandline tool for finding out the calendar week of a date. It's completely written in Go.
Features
- Get the current calendar week without specifying any arguments.
- Get the calendar week of a date.
- When entering a week as flag, get start and end date.
- Print a list of all calendar weeks of a given year as a table
- Print the start and end date if you enter a year and calendar week
- Support for different output formats like JSON,
table (maybe more to come)
- Support for different date formats
Installation
TODO: Prepare installation manual.
Usage
cw supports a variety of different commandline parameters. You can see them by running cw -h or below:
NAME:
cw - Find the appropriate calendar week of a given date.
USAGE:
cw [global options] command [command options]
COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--summary, -s Print out the calendar week in a short summary. (default: false)
--table, -t Print out the calendar weeks in a table format. (default: false)
--output value, -o value Prints the requested calendar week as JSON.
--help, -h show help
Development
Development takes place in main branch, so it can be ahead of other branches. In case you'd like to access a specific version, please use the according tag or download any desired release.
- Clone the repository with
git clone https://github.com/pgrunm/cw
- Run
go get ..
- Start developing.