comfysage / hayashi

:seedling: a tiny distro-independent package manager written in Go.
3 stars 1 forks source link

Hayashi doesn;t always need to clone the repo #3

Closed comfysage closed 1 year ago

comfysage commented 1 year ago

Sometimes (like with vim-plug, ohmyzsh) hayashi doesn't need to clone the repo in order to run the installer.

Proposed option (true by default):

pkg: name
url: github.com/owner/repo
clone: false
comfysage commented 1 year ago

cli.startInstall checks for Pkg.Clone. The repo is cloned on true and an empty dir is created on false.