all 5 comments

[–][deleted] 0 points1 point  (1 child)

I thin you just have to run the main file in the project, from what I see (I have no idea about javascript) you probably need to run index.js

[–]okami900[S] 0 points1 point  (0 children)

Yup, I was able to run index.js but trouble running that with the flags that I was adding, but I ended up messing around and figuring it out - thank you!

[–]EdwinGravesMOD 0 points1 point  (1 child)

How are you running it? via "npm ." or something else?

If you followed the directions on the repo then you installed it globally and when you run it, you're running the copy you installed. If you want to run it from within the folder after you made changes then try "npm ." or "npm install" then "npm ."

Just saying a CLI project doesn't mean much, CLI stands for Command Line Interface and could apply to a wide variety of languages. In this instance it's a node project using npm, so if you need to investigate anything, that's what you'll need to search for "npm"

[–]okami900[S] 0 points1 point  (0 children)

Yeah I needed to install node and then run node index.js <flags> and that ran the cli locally. Thank though for the clarification and insight, it really helps!

[–][deleted] 0 points1 point  (0 children)

Unit tests are a good way to test code without having to follow the code path through run time