sparksuite / waterfall-cli

Coming soon... Effortlessly create CLIs powered by Node.js
MIT License
5 stars 3 forks source link

Revert changes to `onStart`'s `inputObject` type #525

Closed WesCossick closed 4 months ago

WesCossick commented 4 months ago

This effectively reverts #397, which addressed #391. The reason we shouldn't be using just the entry file's Input interface is because the onStart function is actually given the fully-constructed input object, which includes all the flags, options, and data passed into the full command (which probably includes more than just what the entry file is expecting).