eget
eget copied to clipboard
Library Usage
@zyedidia Would it be possible to use eget as a library? Can this also be done?
Currently it is not possible since all the code is in the main package, but with a little restructuring it wouldn’t be too hard to adjust. Do you have a general API in mind that would be most useful to you?
@zyedidia My use case would I would like to utilise eget's API in a command line program such that it could possibly update itself or download packages.
I made a small CLI (allaman/werkzeugkasten) that calls eget via exec.Command. It gets the job done 😄