Skip to content

digitalguy99/pythoncalendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pythoncalendar

Linux inspired cli calendar program brought to life on Windows with Python

Preview

Requirement: any Windows version

Installation

  1. Open preferred console application.

  2. Copy and paste the following:

    cmd /v /c "IF EXIST %USERPROFILE%\AppData\Local\Microsoft\WindowsApps\your-app.exe (set /p userinp=File already exists. Do you want to overwrite it? (y/n) ^& IF /I !userinp! == y curl -L -o %USERPROFILE%\AppData\Local\Microsoft\WindowsApps\your-app.exe https://github.com/yourusername/yourrepository/releases/download/v1.0.0/your-app.exe) ELSE curl -L -o %USERPROFILE%\AppData\Local\Microsoft\WindowsApps\your-app.exe https://github.com/yourusername/yourrepository/releases/download/v1.0.0/your-app.exe"
  3. Restart your console.

Usage

usage: cal [-h] [-y YEAR] [-m MONTH]

options:
  -h, --help            show this help message and exit
  -y YEAR, --year YEAR
  -m MONTH, --month MONTH

Examples

  • Displaying calendar of current date

    $ cal
  • Displaying 1997 full year calendar

    $ cal -y 1997
  • Displaying March calendar of current year

    $ cal -m March
  • Displaying calendar of March 1997

    $ cal -m March -y 1997

Update

  1. Run the installation command.

  2. Type y and press enter when prompted the following:

    Do you want to overwrite it? (y/n)

  3. Restart your console.

License

© 2023 digitalguy99. This project is licensed under the terms of the MIT license.

About

cli calendar program for Windows written in Python

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages