Skip to content

[eas-cli] Fix channel:pause and channel:resume argument descriptions - #3887

Open
patrickwehbe wants to merge 2 commits into
expo:mainfrom
patrickwehbe:fix-channel-pause-resume-arg-descriptions
Open

[eas-cli] Fix channel:pause and channel:resume argument descriptions#3887
patrickwehbe wants to merge 2 commits into
expo:mainfrom
patrickwehbe:fix-channel-pause-resume-arg-descriptions

Conversation

@patrickwehbe

Copy link
Copy Markdown

Why

The NAME argument for eas channel:pause and eas channel:resume is described as "Name of the channel to edit". That wording was copied over from channel:edit and never updated, so --help for both commands tells you to pass the channel to "edit" even though neither command edits the channel.

How

Updated the argument description in packages/eas-cli/src/commands/channel/pause.ts to "Name of the channel to pause" and in packages/eas-cli/src/commands/channel/resume.ts to "Name of the channel to resume". I also updated the two matching lines in packages/eas-cli/README.md by hand to mirror the change, since running the full yarn oclif readme regeneration pulls in the whole monorepo install. channel:edit keeps its original description.

I added a bug-fix entry to CHANGELOG.md under the main section.

Test Plan

This is a string-only change to the command metadata. Help output now reads correctly:

$ eas channel:pause --help
...
ARGUMENTS
  [NAME]  Name of the channel to pause

$ eas channel:resume --help
...
ARGUMENTS
  [NAME]  Name of the channel to resume
The NAME argument for channel:pause and channel:resume described itself
as "Name of the channel to edit", copied from channel:edit. Update the
descriptions to refer to pausing and resuming, and regenerate the
matching README lines by hand.
@github-actions

Copy link
Copy Markdown

Subscribed to pull request

File Patterns Mentions
**/* @douglowder
packages/eas-cli/src/commands/channel/** @wschurman, @quinlanj

Generated by CodeMention

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant