MCPcopy Create free account
hub / github.com/oboard/claude-code-rev / getOptionSortKey

Function getOptionSortKey

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

Source from the content-addressed store, hash-verified

898 sortOptions: true;
899 } {
900 const getOptionSortKey = (opt: Option): string => opt.long?.replace(/^--/, '') ?? opt.short?.replace(/^-/, '') ?? '';
901 return Object.assign({
902 sortSubcommands: true,
903 sortOptions: true

Callers 1

createSortedHelpConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected