MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getOptionSortKey

Function getOptionSortKey

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

Source from the content-addressed store, hash-verified

892 sortOptions: true;
893 } {
894 const getOptionSortKey = (opt: Option): string => opt.long?.replace(/^--/, '') ?? opt.short?.replace(/^-/, '') ?? '';
895 return Object.assign({
896 sortSubcommands: true,
897 sortOptions: true

Callers 1

createSortedHelpConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected