Skip to content

klane/dotbot-ghq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

dotbot-ghq

Plugin for dotbot to clone remote repositories with ghq.

Installation

  1. Add dotbot-ghq as a submodule of your dotfiles repository.
git submodule add https://github.com/klane/dotbot-ghq.git
  1. Modify your install script to enable the ghq plugin.
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" --plugin-dir dotbot-ghq -c "${CONFIG}" "${@}"

Usage

The plugin adds two new directives for use with ghq:

  • ghq: List of repositories to clone with ghq get
  • ghqfile: List of files containing repositories (one per line) to clone with ghq get

For example:

- ghq:
  - anishathalye/dotbot
  - motemen/ghq
  - klane/dotbot-ghq

- ghqfile:
  - repos.txt

Flags for ghq can be passed with the flags keyword. When using this syntax, repositories must be specified with the repo keyword and files with the file keyword. For example:

- ghq:
  - repo: anishathalye/dotbot
    flags: [--silent]
  - repo: motemen/ghq
    flags: [--update]
  - repo: klane/dotbot-ghq
    flags: [-p, --silent, --update]

- ghqfile:
  - file: repos.txt
    flags: [--silent]

About

Manage remote repositories with ghq and dotbot

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages