milpa itself repo install
Installs a milpa repo
Usage
milpa itself repo install [options] SOURCE
Description
Installs a milpa repo from a local directory or remote git repository into either:
$XDG_DATA_HOME/milpa(usually$HOME/.local/share): by default, or if--useris specified, or$MILPA_ROOT(usually, /usr/local/lib/milpa), if--globalis specified.
When SOURCE points to a local path (either a folder containing a .milpa folder, or the .milpa folder itself), milpa repo install will symlink it into the local or global repositories.
Oherwise,SOURCE will be interpreted as a git URL, and a shallow clone will be performed against the .milpa folder of the repo only.
Examples
https://github.com/unRob/dotfiles.gitwould download the.milpafolder from theunRob/dotfilesgithub repo, using https, and prompting for credentials for private repos.git@git.rob.mx/unRob/dotfiles.gitwould download the.milpafolder from theunRob/dotfilesgit repo using ssh credentials, useful for skipping credential prompts for private repos.-
~/.dotfileswould symlink$HOME/.dotfiles/.milpato the target. An alternative to this is to setMILPA_PATHto$HOME/.dotfiles(seemilpa help docs milpa environment).
Arguments
SOURCErequired - A path or git clone URL to install
Options
--global(bool): If specified, install the repo to $MILPA_ROOT.--user(bool): If specified, install the repo to ~/.local/share/milpa/repos.
Global Options
--color(bool): Always print colors to stderr. Default: true.--help(bool): Display help for any command.--no-color(bool): Disable printing of colors to stderr.--silent(bool): Silence non-error logging.--skip-validation(bool): Do not validate any arguments or options.--verbose(bool): Log verbose output to stderr.