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

Library Usage #94

Open
pateljoel opened this issue Dec 22, 2023 · 3 comments
Open

Library Usage #94

pateljoel opened this issue Dec 22, 2023 · 3 comments

Comments

@pateljoel
Copy link

@zyedidia Would it be possible to use eget as a library? Can this also be done?

@zyedidia
Copy link
Owner

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?

@pateljoel
Copy link
Author

@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.

@Allaman
Copy link

Allaman commented Apr 20, 2024

I made a small CLI (allaman/werkzeugkasten) that calls eget via exec.Command. It gets the job done 😄

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

No branches or pull requests

3 participants