Changed code to support older Python versions
This commit is contained in:
parent
eb92d2d36f
commit
582458cdd0
5027 changed files with 794942 additions and 4 deletions
|
|
@ -0,0 +1,12 @@
|
|||
from fastapi_cloud_cli.utils.auth import delete_auth_config
|
||||
from fastapi_cloud_cli.utils.cli import get_rich_toolkit
|
||||
|
||||
|
||||
def logout() -> None:
|
||||
"""
|
||||
Logout from FastAPI Cloud. 🚀
|
||||
"""
|
||||
with get_rich_toolkit(minimal=True) as toolkit:
|
||||
delete_auth_config()
|
||||
|
||||
toolkit.print("You are now logged out! 🚀")
|
||||
Loading…
Add table
Add a link
Reference in a new issue