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

Add setup command #7

Merged
merged 8 commits into from
Jun 10, 2021
Merged

Add setup command #7

merged 8 commits into from
Jun 10, 2021

Conversation

jackdevey
Copy link
Owner

@jackdevey jackdevey commented Jun 7, 2021

Add setup command

Provides the user with a better way to access their Govee account through lux.

Merge Checklist

  • Follows lux design guidelines (Github Primer)
  • API Key is stored
  • API Key is checked before storage
  • Shows a warning when a user is already authenticated
  • Key setup tutorial page live
  • Command has been added to bandev.uk api

Design

Implements major design queues from Github Cli Guidelines & AlecAivazis/survey

The user is asked if they have an API Key

image

If they have one, they are prompted to enter it

image

Otherwise, they are prompted to follow a tutorial detailing how to create one

image

@jackdevey jackdevey added Checklist The issue is a checklist enhancement New feature or request labels Jun 7, 2021
@jackdevey jackdevey added this to the v1.0.0 Release milestone Jun 7, 2021
@jackdevey jackdevey linked an issue Jun 7, 2021 that may be closed by this pull request
6 tasks
@jackdevey jackdevey mentioned this pull request Jun 7, 2021
6 tasks
@jackdevey jackdevey self-assigned this Jun 7, 2021
@jackdevey
Copy link
Owner Author

Will create API Key creation tool later

@jackdevey jackdevey merged commit f05ae06 into main Jun 10, 2021
@jackdevey jackdevey deleted the add-setup-command branch June 10, 2021 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Checklist The issue is a checklist enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v1.0.0 Release checklist
1 participant