apeman-task-hosts
apeman task to rewrite hosts file.
Installation
$ npm install apeman-task-hosts --save-dev
Usage
- Define a task within Apemanfile.js
- Call the task via apeman task command.
Apemanfile.js
/** This is an example Apemanfile to use apeman-task-hosts */ 'use strict' moduleexports = $pkg: /* ... */ $tasks: 'hosts:add': 'my-app.example.com': '192.168.1.11'
Then,
$ apeman task hosts:add
Signature
define(hosts, options) -> function
apeman task to rewrite hosts file.
Args
Name | Type | Default | Description |
---|---|---|---|
hosts | object | Values to set. | |
options | object | Optional settings. |
License
This software is released under the MIT License.