I've done my research through the internet and found some ways to build a custom CLI tool. Already have done something.
But the point is to make it interactive with navigating, for example like this one, the file manager on *nix (not a JS CLI) - https://www.rosipov.com/blog/ranger-the-cli-file-manager/.
There user can go through the lines, layers, read, open by hot-keys and so on.
And it's not like the inquirer NPM package, where i just can select the option and continue.
I want by clicking "next key" go to subsection/subwindow and then finally select or edit whatever.
Are there some libraries in NPM, CLI frameworks or something else to be able to do so with JavaScript ?