comfysage / hayashi

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

merge local and no-local behaviour of `cli/install`. #10

Closed comfysage closed 1 year ago

comfysage commented 1 year ago

Hayashi should be able to differentiate between paths and names. For this to work paths require some conditions.

Paths are accepted if they are explicitly relative or absolute ('.' | '/').

pkg.yaml -> name
./pkg.yaml -> path
/path/to/pkg.yaml -> path