mirror of
https://github.com/SantaSpeen/CLI-in-Python.git
synced 2025-07-01 07:15:53 +00:00
Update README
This commit is contained in:
parent
f81172a008
commit
e63bd01cbf
@ -13,10 +13,10 @@ import getpass
|
||||
|
||||
cli = Console(prompt_in=">", prompt_out="]:")
|
||||
|
||||
def cli_echo(x: str):
|
||||
def cli_echo(argv: list):
|
||||
""" Help message here """
|
||||
|
||||
message = "Echo message: " + x
|
||||
message = f"argv: {argv}"
|
||||
|
||||
return message
|
||||
|
||||
|
@ -11,10 +11,10 @@ import getpass
|
||||
|
||||
cli = Console(prompt_in=">", prompt_out="]:")
|
||||
|
||||
def cli_echo(x: str):
|
||||
def cli_echo(argv: list):
|
||||
""" Help message here """
|
||||
|
||||
message = "Echo message: " + x
|
||||
message = f"argv: {argv}"
|
||||
|
||||
return message
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user