clenver

Gem Version Build Status Code Climate Coverage Status

clenver (Command Line home ENVironment mangER) is a Ruby gem that bootstrap and manage your shell environment.

Introduction

clenver aims to shorten time of configuring your brand new Linux account to fully featured development envionment of your choice by using:

  • VCS (version control system) repositories
  • directory creation
  • symlinking

It also aims to reliably manage your exising environment by:

  • easy switching between project workspaces
  • report on the status of used repositories (like oh-my-zsh, spf13-vim, ...)

Installation

Simply type in you shell:

gem install clenver

Getting Started

Bootstrap

clenver is able to bootstrap your brand new Linux account according to rules provided through YAML file. For xample create dummy.yml with below content:

https://github.com/pietrushnic/dummy.git:
  links:
    foobar.txt:
    - foobar_link
    foobar:
    - foobar_dir_link
  run:
    - echo "success!!!"
  remotes:
    upstream:
    - https://github.com/pietrushnic/dummy.git

After that running

clenver init dummy.yaml

gives you below tree:

dummy
├── dummy
│   ├── foobar
│   ├── foobar.txt
│   └── README.md
├── foobar_dir_link -> $PWD/dummy/dummy/foobar
└── foobar_link -> $PWD/dummy/dummy/foobar.txt

And of course will display success!!! message. Carefully crafted YAML file can bootstrap you clean user account into fully configured user account.

Examples

Contribution