@christiannaths/dev-cli

A command-line productivity tool for developers

Usage no npm install needed!

<script type="module">
  import christiannathsDevCli from 'https://cdn.skypack.dev/@christiannaths/dev-cli';
</script>

README

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.