Skip to content

Add setup command#7

Merged
jackdevey merged 8 commits into
mainfrom
add-setup-command
Jun 10, 2021
Merged

Add setup command#7
jackdevey merged 8 commits into
mainfrom
add-setup-command

Conversation

@jackdevey

@jackdevey jackdevey commented Jun 7, 2021

Copy link
Copy Markdown
Owner

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
Copy Markdown
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