refactor(cli): trim internal command exports (#106426)

This commit is contained in:
Peter Steinberger
2026-07-13 06:47:02 -07:00
committed by GitHub
parent 0ff265838b
commit a965d28e04
14 changed files with 22 additions and 130 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
import type { Command } from "commander";
/** Remove an exact Command instance from a parent program. */
export function removeCommand(program: Command, command: Command): boolean {
function removeCommand(program: Command, command: Command): boolean {
const commands = program.commands as Command[];
const index = commands.indexOf(command);
if (index < 0) {