Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/MunGell/vgm

Vagrant Manager – command-line tool to simplify management of vagrant boxes
https://github.com/MunGell/vgm

cli convenient homestead vagrant vagrant-commands

Last synced: 25 days ago
JSON representation

Vagrant Manager – command-line tool to simplify management of vagrant boxes

Awesome Lists containing this project

README

        

# Vagrant Manager

A little command line tool to manage many vagrant boxes without changing working directory.

## Installation

```bash
$ npm install -g vgm
```

## Getting Started

1. Add your vagrant boxes to the manager with the following command:

```bash
$ vgm add
```

Where `` - is any convenient name that you would like to use for your box
and `` is path to where your `Vagrantfile` is stored.

2. Run vagrant commands like this:

```bash
$ vgm status
```

This should show you your box's status.

## Commands

### `vgm add [path]`

Adds virtual machine to the manager

#### Arguments:

- `name` - any convenient name for your virtual machine
- `path` _(optional)_ - path to Vagrantfile directory, if not present `vgm` will use path to current directory

### `vgm remove `

Removes virtual machine from the manager configuration

#### Arguments:

- `name` - name of the machine that you want to remove

### `vgm list`

Outputs list of all registered vitrual machines.

### `vgm [cmd]`

Runs vagrant command on a machine

#### Arguments:

- `name` - name of the machine that you want to run the command on
- `cmd` _(optional)_ - vagrant command, if not present `vgm` will assume `status` command