Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #4.
This adds a new command to groku: use.
groku discover
stores all found rokus in an array.groku use
will make a named roku current and will be used for all future calls. Each time the config is updated groku will attempt to make the same roku the current one again.I have a future PR that will remove the 60 second timeout and require a
groku discover
to update the config so that we're not inflicted with a 5-second pause every 60 seconds. I also have a PR to move the config to a hidden file in the user's home dir rather than storing it in a temporary folder.