hello to input

cliflect also supports simple input handling

usage:

import cliflect
console=cliflect.console()
@console.cmd('in')
def inp(arg):
    i=console.read('your name: ')
    console.echo(f'welcome, {i}')
console.run()

other than type, console.read attributes are same as console.echo

output: the input enterd in ‘your name: ‘ will be printed