Closed comm4nd3rx closed 4 months ago
hi, ok here we dont actually parse os args, because native part is in aar format we can directly call go functions from java instead of running it as an executable, i now a better solution is to make an struct of options instead of parsing them from string, but because im lazy i assemble an string in java and send it to aar then it parses the flags from that string not os args., thecore repo is here if you want to contribute https://github.com/bepass-org/wireguard-go
Oki, thanks for the clarifications. I'll be sending a pull request to the core repository.
Hey there,
I think the command-line flag parsing section to be a bit complex. I've made some improvements to make it more efficient. Before sending a pull request, I wanted to discuss these changes with you and ensure they align with your vision for the project.
Here's the modified code:
I've also added a usage message to guide users on how to use the application effectively.
would appreciate your feedback on these changes. If you find them suitable, I'll be happy to create a pull request for it