An open API service indexing awesome lists of open source software.

https://github.com/gongo/pecrant

Vagrant global-status and box controller for peco
https://github.com/gongo/pecrant

Last synced: about 1 year ago
JSON representation

Vagrant global-status and box controller for peco

Awesome Lists containing this project

README

          

pecrant
==========

[![Build Status](https://travis-ci.org/gongo/pecrant.svg?branch=master)](https://travis-ci.org/gongo/pecrant)

Vagrant `global-status` controller for peco.

Requirements
--------------------

- [peco](https://github.com/peco/peco)
- [Vagrant 1.6 or higher](http://www.vagrantup.com/blog/feature-preview-vagrant-1-6-global-status.html)
- Using `vagrant global-status`

Getting started
--------------------

### Installation

```
$ cd /path/to/bin # in $PATH
$ curl -O https://raw.githubusercontent.com/gongo/pecrant/master/pecrant
$ chmod +x ./pecrant
```

### Usage

```
$ pecrant help
Usage: pecrant

up Start the selected vagrant machine
provision Provision the selected vagrant machine
reload Restart the selected vagrant machine
suspend Suspend the selected vagrant machine
resume Resume the selected vagrant machine
halt Stop the selected vagrant machine
destroy Stop and delete all traces of the vagrant machine
ssh Connect to machine via SSH
dir Show directory path for vagrant environments
list Show vagrant environments for this user
help Show this message
```

`$ pecrant up`:

![](./images/pecrant_up.gif)

`$ pecrant halt`:

![](./images/pecrant_halt.gif)

#### Advance

Support `Select Multiple Lines`:

![](./images/pecrant_multiple.gif)

Alternative of `pecrant cd`

$ cd "$(pecrant dir)"

License
--------------------

MIT License.