🥶 Самый Лучший код на Пупыре!!!
PythonicNightmares CLI-, , Python. , , .
Python 3.11 . `pip`:
pip install pynightmares
:
git clone https://github.com/mrf0rtuna4/PythonicNightmares.git
cd PythonicNightmares
pip install -r requirements.txt
pip install .
, PyNightmares :
pynightmares <command>
pynightmares hello # 'Hello, World!'
pynightmares infinite_loop # (!)
pynightmares random_error #
pynightmares spaghetti_code # "-",
pynightmares troll #
pynightmares evil_syntax # Python
Python CLI argparse
. , CLI-. , .
"" , :
`scripts`.
:
from nightmares.modules import CommandRegistry
registry = CommandRegistry()
@registry.register("my_command", aliases=["mc"], help_text=" ")
def my_command():
print(" !")
.
.
MIT.