pulsepm / pulse

Unofficial package manager written in python.
MIT License
4 stars 0 forks source link

`pulse install` #19

Closed Mergevos closed 5 months ago

Mergevos commented 6 months ago

Implement install command which installs a package from github. Check if package is pulse package by checking for pulse.toml. If no prompt the message, otherwise install dependency then scan for its dependencies and install them.

They should be cached within packages folder in configuration folder of pulse. If .pods are initialized then create requirements folder within .pods.

packages folder should have subdirectories of authors. Within them are names of packages. Within them are versions. Versions can be branches, commits or tags.

if no version is specified, then use latest commit from default branch and name the folder by the name of the default branch.

while the requirements folder should consist of names which matches {user}/{repo} pattern with no versions subfolders.

Full syntax can be

pulse install {user}/{repo} {syntax}*