So I was fed up with having to switch between command line and spotify all the time to change the music, that's why I made this CLI tool that works rather well so far:https://ift.tt/2Ll2h58 thing is, I'm a PHP developer, rather new on NodeJS, and I wonder if I'm doing things right here. Especially with my heavy use of promises and async/await... Is it ok to englobe an existing callback mechanism in a promise in order to make it await compatible?Also does anyone have tips for testing cli applications? How do you test user input, especially when the CLI displays menus with options to choose from ?PS: there are still many features that I want to add, if you like spoticly and would like to make it better, feel free to propose, make pull requests... Even refactor pr are welcome!
Submitted June 03, 2018 at 06:13PM by breizoreol
No comments:
Post a Comment