import { F as hasHelpOrVersion, L as isRootHelpInvocation, M as getPrimaryCommand, O as getCommandPathWithRootOptions } from "./logger-CGXjC0Hv.js";
//#region src/cli/argv-invocation.ts
function resolveCliArgvInvocation(argv) {
	return {
		argv,
		commandPath: getCommandPathWithRootOptions(argv, 2),
		primary: getPrimaryCommand(argv),
		hasHelpOrVersion: hasHelpOrVersion(argv),
		isRootHelpInvocation: isRootHelpInvocation(argv)
	};
}
//#endregion
export { resolveCliArgvInvocation as t };
