hostme

v0.0.2
Simple hosts file setup
hosts setup utility

hostme

Simple hosts file setup.

NPM

Installation

npm install -g hostme

Usage

Create a file called .hosts in your current directory. In there, put anything you wish to add to your hosts file. Example:

# Add comments like this

192.0.2.111 example.dev
198.51.100.42 sub.example.dev

Then, just run hostme in that directory. The definitions will be added to your hosts file. Tada!

CLI:

Usage: hostme [options]

 Options:

    --config <file>  Config file. Defaults to ".hostme".
    --hosts <path>   Path to host file. Defaults to "/etc/hosts".
    --version        Outputs the current version.
npm i hostme

Metadata

  • MIT
  • Whatever
  • Zach Bruggeman
  • released 5/24/2014

Downloads

Maintainers