https://github.com/windsting/hosts-editor
A command line tool for editing "hosts" file.
https://github.com/windsting/hosts-editor
Last synced: about 1 year ago
JSON representation
A command line tool for editing "hosts" file.
- Host: GitHub
- URL: https://github.com/windsting/hosts-editor
- Owner: windsting
- Created: 2017-10-28T12:21:18.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-20T02:03:10.000Z (over 7 years ago)
- Last Synced: 2025-01-23T11:45:20.878Z (over 1 year ago)
- Language: JavaScript
- Size: 240 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hosts Editor
A command line tool for editing "hosts" file.
## Installation
npm install -g hosts-edit
## Usage
Just take two parameters:
1. An IP address
1. A name for the address above
```
hosts-edit 192.168.1.1 my-router
```
## Build to a executable file
### Install npm command line tool **pkg***
npm install -g pkg
### Generate executable file
bash build.sh
you can find those file in **build/Release/** directory.