Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 587 Bytes

README.md

File metadata and controls

46 lines (33 loc) · 587 Bytes

KONSOL

Build your own console

Installation

pip install https://github.com/arissupriy/konsol/archive/master.zip

Test

create name file test.py and copy script below :

from konsol import Command, Konsol

def hello():
    print("hello")

command = Command()
command.add_command("hello", hello)

console = Konsol(
    command=command,
    command_name='your_console_name'
)

console.start()

and then run :

python test.py

result

(your_console_name) ~ 
(your_console_name) ~ hello
.
.
.
create your best command line