shellmigration
v0.1.3
Published
Migrations for shell scripts.
Downloads
6
Readme
shellmigration
Manage environments are hard, every time you need to add a new dependency, install something here, change something there, right?
shellmigration is here you help you, this basically create versions of your environment.
Install
npm install -g shellmigration
How to use
shellmigration init
This will setup your folder, creating the files below:
- migrations/
--- .gitignore
--- .migrated
- shellmigrations.js
Create the files you want to run inside the folder migrations
, for example:
File: migrations/20150602122250_echo_ok.sh
#!/bin/bash
echo 'OK'
Now, to run the migrations:
shellmigration migrate
You can also run:
shellmigration list --all
shellmigration list --done
shellmigration list --do