Home

Awesome

phlow

Get to work as quick as possible.

This is an experiment and right now only works on OSX with iTerm2.

Installation

npm install phlow -g

Usage

You can use phlow in two ways:

A configuration file looks like this

{
  "dir": "/Users/gimenete/projects/backbeam-lambda-ui",
  "iTerm": {
    "tabs": [
      {
        "panels": [
          {
            "commands": [
              "npm run watch"
            ]
          },
          {
            "split": "vertically",
            "commands": [
              "npm start"
            ]
          },
          {
            "split": "horizontally",
            "commands": [
              "atom ."
            ]
          }
        ]
      }
    ]
  }
}

So you could save that file as:

Finally run:

phlow project_name

The project name doesn't need to be strictly equal. Phlow will look for the most similar directory name with a phlow.json file on it or the most similar configuration file under ~/.phlow. Also, phlow will always ask for confirmation before running anything.