MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getOptionSortKey

Function getOptionSortKey

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

Source from the content-addressed store, hash-verified

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

Callers 1

createSortedHelpConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected