hostBuilder

command module
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2017 License: GPL-3.0 Imports: 5 Imported by: 0

README

Host Builder A command line tool for managing frequently changing hosts files.

example hosts file:

127.0.0.1 www.example.com #local
10.0.0.1 www.example.com #dev
10.0.0.4 www.example.com #staging
10.0.0.5 www.example.com #awsEast
10.0.0.6 www.example.com #awsWest

equivalent hostBuilder config:

{
  "localHostnames": [],
  "ipV6Defaults": false,
  "hosts": {
    "www.example.com": {
      "current": "default",
      "options": {
        "local": "127.0.0.1",
        "dev": "10.0.0.1",
        "staging": "10.0.0.4",
        "awsEast": "10.0.0.5",
        "awsWest": "10.0.0.6"
      }
    }
  },
  "globalIPs": {},
  "groups": {}
}

asciicast

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL