Skip to content

feat(cli): add -c as shorthand for --continue#999

Merged
liruifengv merged 2 commits into
mainfrom
update-continue-flag
Jun 23, 2026
Merged

feat(cli): add -c as shorthand for --continue#999
liruifengv merged 2 commits into
mainfrom
update-continue-flag

Conversation

@liruifengv

Copy link
Copy Markdown
Collaborator

Related Issue

No linked issue. See the problem below.

Problem

--continue only had an uppercase -C shorthand, which is awkward to type since it requires holding Shift. There was no lowercase equivalent, even though -c was unused.

What changed

  • Added -c as the primary short flag for --continue, shown in --help.
  • Kept -C working as a hidden alias for backward compatibility, since commander does not allow two short flags on a single option.
  • Updated the English and Chinese reference / guide docs to list -c, and added a test covering both -c and -C.
  • Added a changeset for the CLI package.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

@changeset-bot

changeset-bot Bot commented Jun 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 69bc386

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@moonshot-ai/kimi-code Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

The lowercase -c now maps to --continue, shown in help as the primary short flag. The uppercase -C still works as a hidden alias since commander does not allow two short flags on a single option.
@liruifengv liruifengv force-pushed the update-continue-flag branch from 9ea5ab8 to 20eadfa Compare June 23, 2026 05:33
@pkg-pr-new

pkg-pr-new Bot commented Jun 23, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@69bc386
npx https://pkg.pr.new/@moonshot-ai/kimi-code@69bc386

commit: 69bc386

@liruifengv liruifengv merged commit 6b68aa8 into main Jun 23, 2026
8 checks passed
@liruifengv liruifengv deleted the update-continue-flag branch June 23, 2026 05:53
@github-actions github-actions Bot mentioned this pull request Jun 23, 2026
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.

1 participant