Closed AriaFallah closed 8 years ago
I would probably just do this:
vorpal.show();
vorpal.log('Welcome to CLI, try running "help" to see what you can do!');
@dthree just realized I can also do a simple console.log()
...
Thank you!
Sure! For the record, don't do console.log
as this will mess with the prompt. vorpal.log
properly redraws the prompt after logging.
Is there a way to make a welcome message for the CLI when it's first invoked?
Something like: