Skip to content

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

Open
@remyleone

Description

@remyleone

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions