This terminal will have a Link with Python , meaning you can write some python commands to run, like pip3
. >I wanted help to know how to do this, make the user type a command , and if this command is to write something on the screen , the text that the user typed and displayed on the screen .
My recent commands for the terminal:
output {text} // Digita um texto na tela
python-pip3get {module} // Baixa modulos do pip3
sys-get {command(login(),version(),etc.)} // Pega infs do sistema
file-open {path} // Abre um arquivo para editar
file-edit {text} // Edita o texto de um arquivo
file-create {path} // Cria um arquivo
file-close // Sai do arquivo
Based on these commands I want to separate the functions from the add-ons ({text}) and pass them to their respective string (function & complement).
Please help me.