Closed JoaoP-Vieira closed 11 months ago
Note: I used the jessevdk/go-flags to work with cli args. Maybe you want to use something else or do this from scratch.
For now, there's no problem, but I think it would be good to use the language built-ins or implement an extension to that.
I have no problem with go-flags
, to be honest I don't even know how the package actually works, but I would like to keep things on our domain and of the language instead of outsourcing functions for trivial things like simple POSIX flag handling.
The .pkginfo files needs to follow this format:
I should've implemented the reader, but I hope it's already done. I will take a look at the code later, but I will merge it now.
Note: I used the jessevdk/go-flags to work with cli args. Maybe you want to use something else or do this from scratch.
For testing you need to set the
pkgdir
variable to your environment.The .pkginfo files needs to follow this format: