https://github.com/AliasT/hostess
Command-line utility for managing your /etc/hosts file built with rust
https://github.com/AliasT/hostess
cli command hosts rust
Last synced: over 1 year ago
JSON representation
Command-line utility for managing your /etc/hosts file built with rust
- Host: GitHub
- URL: https://github.com/AliasT/hostess
- Owner: AliasT
- License: mit
- Created: 2019-05-23T06:53:40.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-05T08:49:26.000Z (over 6 years ago)
- Last Synced: 2025-03-01T22:16:12.540Z (over 1 year ago)
- Topics: cli, command, hosts, rust
- Language: Rust
- Homepage:
- Size: 16.6 KB
- Stars: 9
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hostess
Command-line utility for managing your /etc/hosts file, built with rust
## Install
`cargo install hostess`
## Usage
| Command | Description |
| :-------------------------- | :------------- |
| `hostess list` | List all hosts |
| `hostess add [domain] [ip]` | Add a host |
| `hostess rm [domain]` | Remove a host |
| `hostess on [domain]` | Enable a host |
| `hostess off [domain]` | Disable a host |
## Todo
- [ ] regex