mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-04 22:49:23 +00:00
Change login/signup method name
This commit is contained in:
@@ -20,11 +20,8 @@ class AuthenticationCommand:
|
||||
def __init__(self):
|
||||
self.token_manager = TokenManager()
|
||||
|
||||
def signup(self) -> None:
|
||||
"""Sign up to CrewAI+"""
|
||||
console.print("Signing Up to CrewAI+ \n", style="bold blue")
|
||||
device_code_data = self._get_device_code()
|
||||
self._display_auth_instructions(device_code_data)
|
||||
def login(self) -> None:
|
||||
"""Login or Sign Up to CrewAI Enterprise"""
|
||||
|
||||
return self._poll_for_token(device_code_data)
|
||||
|
||||
|
||||
@@ -215,7 +215,7 @@ def update():
|
||||
@crewai.command()
|
||||
def login():
|
||||
"""Sign Up/Login to CrewAI Enterprise."""
|
||||
AuthenticationCommand().signup()
|
||||
AuthenticationCommand().login()
|
||||
|
||||
|
||||
# DEPLOY CREWAI+ COMMANDS
|
||||
|
||||
Reference in New Issue
Block a user