Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve cli with commander #68

Merged
merged 7 commits into from
Jul 8, 2024

Conversation

AntoineKM
Copy link
Contributor

@AntoineKM AntoineKM commented Jul 8, 2024

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

@AntoineKM AntoineKM changed the title Antoinekm/commander improve cli with commander Jul 8, 2024
@goenning goenning merged commit 50065be into goenning:main Jul 8, 2024
@goenning
Copy link
Owner

goenning commented Jul 8, 2024

Looks great 🚀

@github-actions github-actions bot mentioned this pull request Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants