Open srevinsaju opened 3 years ago
Awesome! Would be really cool! Thank you!
I fix it in #43
The first example you suggested seems really handy, but I can't help but feel it might cause conflicts with Gitlab.
Agreed, I think we should perhaps use a non conflicting option like this
zap install github.com/libresprite/libresprite
@luni3359 what do you think?
Also, I think, if github.com is not explicitly specified, we can fallback user/repo to fetching from github, but this is generally opinionated,. I am fine leaving them like that too
Yeah, that's what I thought too. Even if Gitlab exists, the fact that Github is by and large the most used of them all should warrant a fallback.
Though I think your suggestion on figuring out whether it's coming from Github or Gitlab to be pretty fancy. I feel like it'd be an user-friendly choice.
As of now, zap has three modes of installation 1)
2)
3)
We might want to automatically infer the type of Installation source, for example, automatically figuring out if the path provided is a local file, or when to search in github,
For example
may be considered as a better command than what was mentioned in (3)
Or,
should probably automatically detect that the installation needs to be done from a local file.