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
- Host: GitHub
- URL: https://github.com/gongo/pecrant
- Owner: gongo
- Created: 2014-06-19T13:56:53.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2017-04-28T07:21:11.000Z (about 9 years ago)
- Last Synced: 2024-08-05T09:14:11.766Z (almost 2 years ago)
- Language: Shell
- Homepage:
- Size: 332 KB
- Stars: 35
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
pecrant
==========
[](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`:

`$ pecrant halt`:

#### Advance
Support `Select Multiple Lines`:

Alternative of `pecrant cd`
$ cd "$(pecrant dir)"
License
--------------------
MIT License.