File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
cycode/cli/apps/ai_guardrails/scan Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,17 +34,17 @@ def _get_auth_error_message(error: Exception) -> str:
3434 """Get user-friendly message for authentication errors."""
3535 if isinstance (error , click .ClickException ):
3636 # Missing credentials
37- return f'{ error .message } Please run `cycode configure ` to set up your credentials.'
37+ return f'{ error .message } Please run `cycode auth ` to set up your credentials.'
3838
3939 if isinstance (error , HttpUnauthorizedError ):
4040 # Invalid/expired credentials
4141 return (
4242 'Unable to authenticate to Cycode. Your credentials are invalid or have expired. '
43- 'Please run `cycode configure ` to update your credentials.'
43+ 'Please run `cycode auth ` to update your credentials.'
4444 )
4545
4646 # Fallback
47- return 'Authentication failed. Please run `cycode configure ` to set up your credentials.'
47+ return 'Authentication failed. Please run `cycode auth ` to set up your credentials.'
4848
4949
5050def _initialize_clients (ctx : typer .Context ) -> None :
You can’t perform that action at this time.
0 commit comments