--limit truncates the Members block, but the Companion members line prints every member unconditionally, joined on a single line.
Repro:
cellar get-external org.apache.commons:commons-lang3:3.14.0 org.apache.commons.lang3.StringUtils --limit 6
Observed: Members is correctly cut off at 6 with a // … 233 more members note, but Companion members dumps all ~240 static methods of StringUtils as one comma-separated line (several thousand tokens).
Expected: the limit (and the // … N more members truncation note) applies to the companion section too. Since the output is designed to be injected into LLM prompts, an unbounded companion dump defeats the purpose of --limit.
--limittruncates the Members block, but the Companion members line prints every member unconditionally, joined on a single line.Repro:
Observed:
Membersis correctly cut off at 6 with a// … 233 more membersnote, butCompanion membersdumps all ~240 static methods ofStringUtilsas one comma-separated line (several thousand tokens).Expected: the limit (and the
// … N more memberstruncation note) applies to the companion section too. Since the output is designed to be injected into LLM prompts, an unbounded companion dump defeats the purpose of--limit.