MCPcopy Create free account
hub / github.com/T-Lab-CUHKSZ/claude-code / getOptionSortKey

Function getOptionSortKey

src/main.tsx:907–907  ·  view source on GitHub ↗
(opt: Option)

Source from the content-addressed store, hash-verified

905 sortOptions: true;
906 } {
907 const getOptionSortKey = (opt: Option): string => opt.long?.replace(/^--/, '') ?? opt.short?.replace(/^-/, '') ?? '';
908 return Object.assign({
909 sortSubcommands: true,
910 sortOptions: true

Callers 1

createSortedHelpConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected