As a developer, have you ever wanted to look up what day of the week a particular day falls on or find the duration between two dates right from your terminal? Well, wait no more because this CLI utility provides you with just that!
-
Fork this repository and clone it.
-
Install Python 3.8+ from the official website
-
Install Poetry:
-
MacOS / Linux / Bash on Windows:
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
-
Powershell:
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python -
- Configure Poetry to allow creation of a Python virtual environment within the project root:
poetry config virtualenvs.in-project true
- Install the required dependencies through Poetry:
poetry install
- Activate the virtual environment through the
activate
command:
- MacOS/Linux:
source .venv/bin/activate
- Powershell:
.venv\Scripts\Activate.ps1
NOTE: To find out more about Python virtual environment, you can refer to the
venv
documentation
- Execute the
main.py
Python script to see all the CLI options:
python main.py
- This CLI utility has been bootstrapped with @tiangolo's Typer
- Emojis from emojis.wiki