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 interactive remote mode #169

Merged
merged 3 commits into from
Jun 10, 2024
Merged

Add interactive remote mode #169

merged 3 commits into from
Jun 10, 2024

Conversation

triwav
Copy link
Collaborator

@triwav triwav commented May 28, 2024

No description provided.

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) => {
Copy link
Member

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?

Copy link
Collaborator Author

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

import type { RokuKey } from '../index';
import { rokuDeploy, util } from '../index';

export class RemoteControl {
Copy link
Member

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.

Copy link
Member

@TwitchBronBron TwitchBronBron left a 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!

@TwitchBronBron TwitchBronBron merged commit 14b7eed into v4 Jun 10, 2024
6 checks passed
@TwitchBronBron TwitchBronBron deleted the interactive_remote_mode branch June 10, 2024 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants