arcanis / clipanion

Type-safe CLI library / framework with no runtime dependencies
https://mael.dev/clipanion/
1.1k stars 61 forks source link

Fix: process.exitCode is being set to an object instead of a number #164

Closed eLyiN closed 1 week ago

eLyiN commented 2 months ago

image

fixing 'ERR_INVALID_ARG_TYPE'

arcanis commented 1 week ago

Thanks, but that seems an issue with this specific CLI - execute is expected to only return a number (or void): https://github.com/arcanis/clipanion/blob/master/sources/advanced/Command.ts#L128