加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

EasyOperate < eo >

INSTALL:

$ sudo gem install easyoperate

Why && How To Use:

### ~/.eo/config

open:  vim
shell: bash

### ~/.eo/repos

vim-rails:
  path: ~/vim/vim-rails/                        # Local path

  pushable: true                                # pushable

  repo: git://github.com/tpope/vim-rails.git    # Remote path

  autorun: 'puts "Thanks to Tim Pope";cp_autoload;cp_plugin'
        # Splited by ';'  , when init or update,this will autorun,
        # first print "Thanks to Tim Pope"
        # then  copy autoload/rails.vim to ~/.vim/autoload/
        # then  copy plugin/rails.vim to ~/.vim/plugin/

 scm:   # Default is git,your can define your scm-type in ~/.eo/scm

 cmd:   # Where you can define your methods
    cp_autoload: `cp autoload/rails.vim ~/.vim/autoload/`
    cp_plugin: `cp plugin/rails.vim '~/.vim/plugin/`
    example: 'puts "Hi,This is example method"'
        # you can run 'example' when choose vim-rails use $ eo -c vim-rails,
        # will print "Hi,This is example method"

arch-linux:
  skip: true                                    # skip
  cmd:
    init:   system('sudo pacman -S $(cat ~/pkglist)')
           # Install all software list in ~/pkglist

    update: system('sudo pacman -Suy')
        # Synchronizing package databases,Then upgrade System

### Other Commands:

$ eo -i vim-rails => initialise vim-rails:
                     clone source from github to the path your specify
$ eo -c vim-rails => Select vim-rails
$ eo -u vim-rails => Update vim-rails
                     run 'git pull' in vim-rails's path
$ eo -u           => Update all repository in ~/.eorc <Regexp>
$ eo -p           => Push all pushable repository

More Help ?!

<Shell>
  $ eo -h    for help
<Program>
  $ h        for help

Copyright © 2008-2009 GPL3

Author : Jinzhu Zhang
Web    : http://www.zhangjinzhu.com
Email  : wosmvp (no-spam) gmail (no-spam) com

空文件

简介

暂无描述 展开 收起
Ruby
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化