mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-12-22 02:30:44 -06:00
docs: updates some of the examples
This commit is contained in:
parent
9bfaea4ef0
commit
c159dd6032
2 changed files with 2 additions and 5 deletions
|
@ -18,10 +18,7 @@ def hello(name: str):
|
|||
|
||||
@app.command()
|
||||
def goodbye(name: str, formal: bool = False):
|
||||
if formal:
|
||||
print(f"Goodbye Ms. {name}. Have a good day.")
|
||||
else:
|
||||
print(f"Bye {name}!")
|
||||
print(f"Bye {name}")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
@ -17,4 +17,4 @@ f = Figlet(font="slant")
|
|||
print(f.renderText("Viv isn't venv!"))
|
||||
|
||||
print("Sys path:")
|
||||
print("\n".join(sys.path))
|
||||
print("\n".join(sorted(set(sys.path))))
|
||||
|
|
Loading…
Reference in a new issue