Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have a way to detect that no credentials are present and that an init/auth action should happen #3260

Open
remyleone opened this issue Jul 4, 2023 · 0 comments
Assignees
Labels
enhancement priority:medium Improvements that are not the main priority ux

Comments

@remyleone
Copy link
Member

Description

As a new user, if I type scw, it might not be easy to detect how to login. scw login, scw auth, scw init, ...

Therefore, we should help new user by having the CLI detecting whether or not a profile is present and offer to create one with a prompt.

How this functionality would be exposed

You are currently logged out, would you like to log in? [y/n]: y

References

Version

Version 2.16.1
BuildDate unknown
GoVersion go1.20.5
GitBranch unknown
GitCommit unknown
GoArch amd64
GoOS darwin

@remyleone remyleone added enhancement ux priority:medium Improvements that are not the main priority labels Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement priority:medium Improvements that are not the main priority ux
Projects
None yet
Development

No branches or pull requests

2 participants