Linux inspired cli calendar program brought to life on Windows with Python
Requirement: any Windows version
-
Open preferred console application.
-
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"
-
Restart your console.
usage: cal [-h] [-y YEAR] [-m MONTH]
options:
-h, --help show this help message and exit
-y YEAR, --year YEAR
-m MONTH, --month MONTH-
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
-
Run the installation command.
-
Type
yand press enter when prompted the following:Do you want to overwrite it? (y/n)
-
Restart your console.
© 2023 digitalguy99. This project is licensed under the terms of the MIT license.