[PR #16904] Add IDs to Commands #31043

Open
opened 2026-01-31 09:44:44 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/16904

State: closed
Merged: Yes


As laid out in #16816, adds an ID field to Command.

This first PR only adds IDs for built-in commands in defaults, and generates IDs for user-created commands that don't define an ID. Also note that for now we will not be allowing IDs for iterable/nested commands.

The follow-up PR is where we will actually use the IDs by referring to commands with them.

Refs #16816

Validation Steps Performed

User-created commands in the settings file get rewritten with generated IDs

**Original Pull Request:** https://github.com/microsoft/terminal/pull/16904 **State:** closed **Merged:** Yes --- As laid out in #16816, adds an `ID` field to `Command`. **This first PR only adds IDs for built-in commands in defaults, and generates IDs for user-created commands that don't define an ID.** Also note that for now we **will not** be allowing IDs for iterable/nested commands. The follow-up PR is where we will actually use the IDs by referring to commands with them. Refs #16816 ## Validation Steps Performed User-created commands in the settings file get rewritten with generated IDs
claunia added the pull-request label 2026-01-31 09:44:44 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#31043