Coder Social home page Coder Social logo

vgm's Introduction

Vagrant Manager

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

Installation

$ npm install -g vgm

Getting Started

  1. Add your vagrant boxes to the manager with the following command:
$ vgm add <name-of-the-box> <path-to-Vagrantfile-directory>

Where <name-of-the-box> - is any convenient name that you would like to use for your box and <path-to-Vagrantfile-directory> is path to where your Vagrantfile is stored.

  1. Run vagrant commands like this:
$ vgm <name-of-the-box> status

This should show you your box's status.

Commands

vgm add <name> [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 <name>

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 <name> [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

vgm's People

Contributors

mungell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vgm's Issues

destroy -f doesn't work

When using the destroy command with the -f flag, vagrant asks each time for confirmation:

$ vgm pp destroy -f
mq: Are you sure you want to destroy the 'mq' VM? [y/N] y

I haven't confirmed yet if other flags are ignored.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.