An attempt of a Vagrant porcelain inside Emacs.
Mostly an excuse to play around with transient.
Heavily inspired by packages:
There was already a vagrant package on Melpa.
But it's not as feature-full as this one and doesn't use transient.
So, in lack of inspiration, I called it magrant
, as in magit for vagrant
.
Not yet on Melpa.
With use-package
+ quelpa
+ quelpa-use-package
:
(use-package magrant
:quelpa (magrant :fetcher github :repo "p3r7/magrant"))
Just call command magrant
or directly magrant-boxes
or magrant-machines
.
You can then manage your machines and boxes like you would in the command line.
All action work on any number of entry. So you could for example start all your machines at once or SSH into half of them.
This code uses form feeds (^L
character) as separators.
Package form-feed makes them appear as intended.