- start
- ローカル内のVMの起動(ヘッドレス)
- stop
- ローカル内のVMの一時停止
- search
- ローカル内の指定したVMのVagrantfileの探しだし
- 上記以外
- VirtualBoxやVagrantとうまくやって行きたいので、敢えて出来ることを絞っています
- clone
git clone https://github.com/iganari/vagrant-operation.git
cd vagrant-operation
- 実行
bash bash-operation.sh
- Python 3.x でのみ想定しています
- 使用出来ますがリファクタリング中です 🏗️
- リファクタリングめも
- #17
- clone
git clone https://github.com/iganari/vagrant-operation.git
cd vagrant-operation
- 実行
python3 python-operation.py
- help
python3 python-operation.py -h
### 例
$ python3 python-operation.py -h
Description: Manage commands for VirtualBox.
Usage: $ vb [ options ]
Options:
-h : show this help message and exit
- other
- 鋭意製作中 💪
- 仮想環境の有効化
python3 -m venv .vb
source .vb/bin/activate
pip install -r package.txt
- flake8によるコードレビュー
flake8 python-operation.py --show-source
- 仮想環境の無効化
deactivate