import { getPrimaryCommand, isHelpOrVersionInvocation, isRootHelpInvocation, resolveCliCommandPath } from "./argv.js";
//#region src/cli/argv-invocation.ts
function resolveCliArgvInvocation(argv) {
	return {
		argv,
		commandPath: resolveCliCommandPath(argv),
		primary: getPrimaryCommand(argv),
		hasHelpOrVersion: isHelpOrVersionInvocation(argv),
		isRootHelpInvocation: isRootHelpInvocation(argv)
	};
}
//#endregion
export { resolveCliArgvInvocation };

//# sourceMappingURL=argv-invocation.js.map