Port CLI improvements from #202 to RokuDeploy.ts and align options interface#230
Draft
Port CLI improvements from #202 to RokuDeploy.ts and align options interface#230
Conversation
Co-authored-by: rokucommunity-bot <[email protected]>
Co-authored-by: Bronley Plumb <[email protected]>
Co-authored-by: rokucommunity-bot <[email protected]> Co-authored-by: Bronley Plumb <[email protected]>
Co-authored-by: Bronley Plumb <[email protected]>
Co-authored-by: rokucommunity-bot <[email protected]>
Co-authored-by: rokucommunity-bot <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Port changes from CLI to RokuDeploy.ts
Port CLI improvements from #202 to RokuDeploy.ts and align options interface
Feb 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PR #202 refactored the CLI with improved argument handling, explicit validation, and command-specific logic. This ports those improvements to the core RokuDeploy API and options interface.
Changes
RokuDeployOptions Interface
host,password,username,timeout,remotePort,packagePort)CLI Implementation
SideloadCommand,StageCommand,ZipCommand, etc.)cli.tsto match v4's command structure with explicit option handlingecpPortalias forremotePortin ECP-related commands--outinstead of--outDir/--outFile,--pkgfor signed packages,--dirfor directoriesRokuDeploy.ts Function Alignment
Example
Before (relied on defaults):
After (explicit options required):
CLI now validates and provides clear errors for missing required options rather than silently using defaults.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.