goenning / google-indexing-script

Script to get your site indexed on Google in less than 48 hours
https://seogets.com
MIT License
6.96k stars 483 forks source link

improve cli with commander #68

Closed AntoineKM closed 3 months ago

AntoineKM commented 3 months ago

What did I change?

Hey @goenning, I've added commander.js and picocolors to make adding commands and colors easier in the future.

Why did I change it?

This will be much better than the complicated parseCommandLineArgs, and we'll also have access to other useful commands like gis -v or gis -h to help users debug their problems.

It will also ensure that if someone uses this package as an api in their application, the arguments they put in for their application won't be mixed up with those from gis.

Preview

image
goenning commented 3 months ago

Looks great 🚀