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}*
syntax can be either @ for branch, : for tag and the one for commit, or we can use options. --branch=master with no allow of multiple options.
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}*
--branch=master
with no allow of multiple options.