Libraly, which based on the code of the microframework Cmd (which is, I believe, built-in in python).


Keywords
cmd, library, python, pythonlib
License
MIT
Install
pip install yvesCMD==0.0.6

Documentation

| -> YvesCMD <- |

pip install yvesCMD

This microframework is created for cmd applications based on the cmd module in Python, which is built-in by default.

Goals

The goal is to provide simple and useful tools for creating shell applications. Automate certain processes and introduce innovations in this area.

What's New

- do_command -> In the original module, all command options were placed in the first or first after self argument. In this version, each option occupies its place in the arguments, which provides more control over how many and what the user will enter.
- void_command -> Completely without arguments, a dummy function that you call without options.
- relative_prompt -> For some reason, in the original module, changing the prompt during code execution is impossible.

Extensions

This is a directory in the repository where various features will be introduced.

GitHub | PyPi