Added yadr init-plugins command, and README

This commit is contained in:
yan
2011-12-07 23:27:41 -08:00
committed by Yan Pritzker
parent dacc959ec8
commit 8d0354ab29
3 changed files with 45 additions and 20 deletions

13
bin/yadr/yadr-init-plugins Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env ruby
require File.join(File.dirname(__FILE__), 'default_libs')
GitStyleBinary.command do
version "yadr-init-plugins 1.0"
short_desc "Initialize all submodules. Run this every time you pull a new yadr version."
run do |command|
system("cd ~/.dotfiles && git submodule init && git submodule update")
end
end