Skip to content

Adopt a CLI specific library#26

Merged
bitgamma merged 1 commit intokeycard-tech:developfrom
willianpaixao:willianpaixao-cli
Aug 21, 2025
Merged

Adopt a CLI specific library#26
bitgamma merged 1 commit intokeycard-tech:developfrom
willianpaixao:willianpaixao-cli

Conversation

@willianpaixao
Copy link
Copy Markdown
Contributor

As discussed in #16, the usage of os.Args is sub-optimal and the adoption of a library to handle CLI arguments and options opens the possibilities to a better developer experience, safety checks, documentation, help, etc.

I tried to keep this PR as small as possible, backward compatibility was my top priority. No flag was added, changed or removed. At this moment I just wanted to introduce the library. Upon merge, I can follow up with proper feature development.

Fix #16

@willianpaixao
Copy link
Copy Markdown
Contributor Author

Hey @bitgamma what do you think?

@bitgamma
Copy link
Copy Markdown
Collaborator

bitgamma commented Aug 21, 2025

hey @willianpaixao thanks for your contribution! Just doing a few tests my side and will merge.

If you intend to make other changes and improvements any further PR is welcome - do not feel bound to maintain strict backwards compatibility. If you have any questions or anything you'd like to share in that regard feel free to do so

@bitgamma bitgamma merged commit 512b55f into keycard-tech:develop Aug 21, 2025
@willianpaixao willianpaixao deleted the willianpaixao-cli branch August 21, 2025 20:55
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.

Adopt a CLI specific library

2 participants