-
Notifications
You must be signed in to change notification settings - Fork 19
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 interactive remote mode #169
Conversation
src/cli.ts
Outdated
@@ -148,6 +149,14 @@ void yargs | |||
return new SendTextCommand().run(args); | |||
}) | |||
|
|||
.command('interactive', 'Provides a way to send a series of ECP key events similar to how Roku Remote Tool works but from the command line', (builder) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chris and I played around with some alternative names. How about:
remote-control
So usage would be:
npx roku-deploy remote-control
We could add an alias like RC
or R
or something if that feels verbose?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated. Added rc
shorter version as well
src/commands/RemoteControl.ts
Outdated
import type { RokuKey } from '../index'; | ||
import { rokuDeploy, util } from '../index'; | ||
|
||
export class RemoteControl { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's call this class RemoteControlCommand
and the file RemoteControlCommand.ts
to align with the other files in this folder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once you rename the class, then this can be merged. Nice work!
No description provided.