Skip to content

craft-hub / commandCategory

Function: commandCategory()

commandCategory(name): CommandCategory

Defined in: packages/craft-hub/src/discovery.ts:158

Infer a stable presentation category from a package script or task name.

Parameters

name

string

Returns

CommandCategory

Released under the MIT License.