(commands: Command[], argv: string[], initOptions: InitConfig)
| 59 | } finally { |
| 60 | if (oneOffSession) { |
| 61 | await session.dispose(); |
| 62 | } |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | async function parseCliInvocation(commands: Command[], argv: string[], initOptions: InitConfig) { |
| 67 | const groupName = argv[2]!; |
| 68 | const commandName = argv[3]!; |
| 69 | |
| 70 | if (groupName === 'help' || groupName === '--help' || groupName === '-h') { |
no test coverage detected