Skip to content

Add interactive remote mode#169

Merged
TwitchBronBron merged 3 commits intov4from
interactive_remote_mode
Jun 10, 2024
Merged

Add interactive remote mode#169
TwitchBronBron merged 3 commits intov4from
interactive_remote_mode

Conversation

@triwav
Copy link
Collaborator

@triwav triwav commented May 28, 2024

No description provided.

src/cli.ts Outdated
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
@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