ExplainDev/kmdr-cli

kmdr explain prompt does not accept multiline commands

Closed this issue · 1 comments

$ kmdr explain
💡 Enter your command:   echo "hello world" |\
TypeError: Cannot destructure property `query` of 'undefined' or 'null'.

I did some research and found that the only way to do this with inquirer is by opening an instance of the default text editor in the OS, e.g. vim, emacs, etc...

https://www.npmjs.com/package/inquirer#editor---type-editor