Go to file
Calum Andrew Morrell 5f0be3baae Changed packaging system from poetry to uv. 2025-05-19 13:41:09 +01:00
dg_clt moved clear from function to lambda 2024-08-28 01:59:05 +01:00
tests initial commit 2024-08-27 16:16:27 +01:00
.gitignore initial commit 2024-08-27 16:16:27 +01:00
.python-version Changed packaging system from poetry to uv. 2025-05-19 13:41:09 +01:00
README.md updated README.md 2024-09-04 18:54:10 +01:00
main.py Changed packaging system from poetry to uv. 2025-05-19 13:41:09 +01:00
pyproject.toml Changed packaging system from poetry to uv. 2025-05-19 13:41:09 +01:00
uv.lock Changed packaging system from poetry to uv. 2025-05-19 13:41:09 +01:00

README.md

The Dazed Gerbil's Command Line Tools

This is intended to become a simple set of tools I use on a regular basis when developing a cli based app.

You almost certainly don't want to use this. There are probably hundreds of alternatives on PyPi already - each one notably better than my own.

Regardless, if you're determined to cause yourself pain, what does this library do? So far there's only one little function which exists out of sheer laziness on my part. It clears the terminal window and is platform independent.

from dg_clt import screen

screen.clear()

The entire code to provide that function is as follows:

import os

clear = lambda: os.system('cls' if os.name == 'nt' else 'clear')

I can just never recall the line off-hand when I need it.