Added in a rush https://github.com/jaandrle/nodejsscript/blob/c25fd4f091212ccfc01a0d5f6554ceee7751b035/src/cli.js#L27 The purpose is to provide a way to send an error to user: ```js const letter= await read({ "-p": "Insert 'a'", "-n": 1 }); if(letter!=="a") cli.exi("Given letter is not 'a'!"); ``` ## Todo - [ ] api - [ ] documentation
Activity
[-]Tech – `cli.Error`[/-][+]Non-documented `cli.Error`[/+]