Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 731 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 731 Bytes

Waterfall CLI

Effortlessly create powerful, thoughtfully-organized CLIs with Node.js, using an intuitive cascading design.

Heads up! This proof-of-concept is only used internally right now; however, we may flesh out Waterfall CLI as a fully-capable open source project in the future.

Notes for future documentation:

The error() function, if used in an async context like await waterfall.error('Message text goes here');, will attempt to wait for buffered stdout content to flush before emitting the error message on stderr and terminating the application. Using the error() function in a synchronous context, though, will likely not see this happen because the code won't wait for the Promise to resolve.