https://github.com/marcusoftnet/rptodo_project
Learning how to write a Python CLI tool
https://github.com/marcusoftnet/rptodo_project
Last synced: about 2 months ago
JSON representation
Learning how to write a Python CLI tool
- Host: GitHub
- URL: https://github.com/marcusoftnet/rptodo_project
- Owner: marcusoftnet
- Created: 2022-12-29T14:41:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-29T14:41:33.000Z (over 3 years ago)
- Last Synced: 2025-01-15T14:15:15.586Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RP Todo
This is me learning how to make a Python CLI tool.
I worked from [this blog post](https://realpython.com/python-typer-cli/)
## Things I learned
- Setting up `python` to point to a versioned Python installation, from here
- `python -m` indicates which module to run `The -m stands for module-name in Python. The module name should be valid in Python`
- Tests needs to be prefixed with `test_` to be picked up by `python -m pytest tests/`