0.1.0 • Published 5 years ago
@christiannaths/dev-cli v0.1.0
Dev CLI
A stupid command-line tool to run scripts.
Install
npm install -g @christiannaths/dev-cli
Pop a .devrc
file in your project directory and go to town.
{
"scripts": {
"start": "~/.hyper_plugins/node_modules/hyperlayout/bin/hyperlayout",
"postico": "open postgres://postgres:postgres@$(docker-compose port pg 5432)/my_cool_database",
"exec": "docker-compose exec rails bundle exec $@"
}
}
Usage
dev [options] <cmd>
Options
-v, --version output the version number
-h, --help output usage information
Contribute
Clone, run npm start
. Work.
Tests
No tests yet. Yep, I'm a bad person.