Skip to content

craft-hub / resolveCommandContributions

Function: resolveCommandContributions() ​

resolveCommandContributions(input): Promise<ResolveCommandContributionsResult>

Defined in: packages/craft-hub/src/command-contributions.ts:174

Resolve installed declarative command contributions against safe package roots.

Original discovery remains authoritative. Presets fill an unconfigured input surface, templates fill missing commands, and project JSONC is the final repository-owned override.

Parameters ​

input ​

ResolveCommandContributionsInput

Returns ​

Promise<ResolveCommandContributionsResult>

Released under the MIT License.