Skip to content

Commit

Permalink
Rename RemoteControl to RemoteControlCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
triwav committed Jun 10, 2024
1 parent de600e3 commit 465acf4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { ZipCommand } from './commands/ZipCommand';
import { KeyPressCommand } from './commands/KeyPressCommand';
import { KeyUpCommand } from './commands/KeyUpCommand';
import { KeyDownCommand } from './commands/KeyDownCommand';
import { RemoteControl } from './commands/RemoteControl';
import { RemoteControlCommand } from './commands/RemoteControlCommand';

void yargs

Expand Down Expand Up @@ -154,7 +154,7 @@ void yargs
.option('host', { type: 'string', description: 'The IP Address of the host Roku', demandOption: false })
.option('remotePort', { type: 'number', description: 'The port to use for remote', demandOption: false });
}, (args: any) => {
return new RemoteControl().run(args);
return new RemoteControlCommand().run(args);
})

.command(['stage', 'prepublishToStaging'], 'Copies all of the referenced files to the staging folder', (builder) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as readline from 'readline';
import type { RokuKey } from '../index';
import { rokuDeploy, util } from '../index';

export class RemoteControl {
export class RemoteControlCommand {
run(args) {
let options = {
...util.getOptionsFromJson(args),
Expand Down

0 comments on commit 465acf4

Please sign in to comment.