Skip to content

Conversation

@eablack
Copy link
Contributor

@eablack eablack commented Jan 24, 2026

Summary

This PR is the third batch of the migration to use semantic color.command() for CLI command examples in static example/examples properties. This continues the work from the color system migration from @heroku-cli/color to @heroku/heroku-cli-util.

Updates 20 command files to wrap CLI command examples with color.command() using template literals, enabling semantic coloring of command examples in help text.

Changes

  • Updated static example and examples properties to use ${color.command('...')} pattern
  • Added color imports to files that were missing them
  • Fixed heredoc issues in ps/index.ts, ps/scale.ts, spaces/create.ts, and spaces/destroy.ts

Type of Change

Feature Additions (minor semver update)

  • feat: Introduces a new feature to the codebase

Testing

Notes:
This change affects how command examples are displayed in help text, using semantic color functions instead of direct strings.

Steps:

  1. Build passes successfully (npm run build)
  2. oclif manifest generation succeeds
  3. Help text for updated commands displays correctly with color formatting
  4. Examples use the new semantic color.command() function

Related Issues

https://gus.lightning.force.com/lightning/r/ADM_Work__c/a07EE00002T2hvTYAR/view
Related to PR #3488 (part 1), PR #3490 (part 2), and PR #3485 (command color migration).

@eablack eablack requested a review from a team as a code owner January 24, 2026 00:10
@eablack eablack temporarily deployed to AcceptanceTests January 24, 2026 00:14 — with GitHub Actions Inactive
@eablack eablack temporarily deployed to AcceptanceTests January 24, 2026 00:14 — with GitHub Actions Inactive
@eablack eablack temporarily deployed to AcceptanceTests January 24, 2026 00:14 — with GitHub Actions Inactive
@eablack eablack temporarily deployed to AcceptanceTests January 24, 2026 00:14 — with GitHub Actions Inactive
@eablack eablack temporarily deployed to AcceptanceTests January 26, 2026 17:27 — with GitHub Actions Inactive
@eablack eablack temporarily deployed to AcceptanceTests January 26, 2026 17:27 — with GitHub Actions Inactive
@eablack eablack temporarily deployed to AcceptanceTests January 26, 2026 17:27 — with GitHub Actions Inactive
@eablack eablack temporarily deployed to AcceptanceTests January 26, 2026 17:27 — with GitHub Actions Inactive
This is the third batch of command files being migrated to use the
semantic color.command() function in their static example/examples
properties.

Changes:
- Updated 20 command files to wrap CLI command examples with color.command()
- Added color imports where missing
- Fixed heredoc issues in ps/index, ps/scale, spaces/create, and spaces/destroy

Files updated:
- pipelines/* (7 files: open, promote, remove, rename, setup, transfer, update)
- ps/* (3 files: index, scale, stop)
- repl.ts
- reviewapps/* (2 files: disable, enable)
- run/* (2 files: detached, index)
- spaces/* (3 files: create, destroy, transfer)
- telemetry/* (2 files: index, info)
@eablack eablack force-pushed the eb/color-migration-command-examples-3 branch from 6e10a22 to e3bb7e0 Compare January 26, 2026 17:48
@eablack eablack temporarily deployed to AcceptanceTests January 26, 2026 17:48 — with GitHub Actions Inactive
@eablack eablack temporarily deployed to AcceptanceTests January 26, 2026 17:48 — with GitHub Actions Inactive
@eablack eablack temporarily deployed to AcceptanceTests January 26, 2026 17:48 — with GitHub Actions Inactive
@eablack eablack temporarily deployed to AcceptanceTests January 26, 2026 17:48 — with GitHub Actions Inactive
@eablack eablack merged commit ad5cb97 into v11.0.0 Jan 26, 2026
19 of 25 checks passed
@eablack eablack deleted the eb/color-migration-command-examples-3 branch January 26, 2026 18:25
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