Skip to content

Command-line tool that generates a calendar for a current month.

License

Notifications You must be signed in to change notification settings

torshinalexey/go-cal

Repository files navigation

Month Calendar

This program displays a calendar for the current month in the console.

month calendar screenshot

Requirements

This program requires Go version 1.16 or higher.

Usage

To run the program, navigate to the directory containing the source code and run the following command:

go run main.go

This will display a calendar for the current month in the console.

Features

  • Displays a calendar for the current month
  • Highlights the current date with a an asterisk
  • Automatically adjusts the calendar to start on the first day of the month
  • Wraps the calendar to the next row at the end of each week
  • Prints the calendar in a tabular format with columns for each day of the week

Future Improvements

  • Accept command-line arguments for specifying the month and year to display

License

This program is released under the MIT License. See the LICENSE file for details.

About

Command-line tool that generates a calendar for a current month.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages