Skip to content

Commit

Permalink
add sample usage gif.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustavo Marin committed Mar 14, 2020
1 parent 8d7dc99 commit 46b3f0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ Go to [release page](https://github.com/guumaster/hostctl/releases) and download
* add profiles directly from a `.etchosts` file that you can add to your vcs.


## Sample Usage
[![sample usage](docs/hostctl.gif)]


## Linux/Mac/Windows and permissions

**WARNING**: this should work on any system, but currently this is only being tested on Linux.
Expand Down Expand Up @@ -87,12 +91,9 @@ Use "hostctl [command] --help" for more information about a command.
+---------+--------+----------------+----------------------------+
| lite | on | 192.168.1.51 | jupyter.toolkit-lite.local |
+---------+--------+----------------+----------------------------+
| toolkit | on | 192.168.99.119 | minio.toolkit.local |
| toolkit | on | 192.168.99.119 | app.toolkit.local |
| toolkit | on | 192.168.99.119 | gitea.toolkit.local |
| toolkit | on | 192.168.99.119 | jupyter.toolkit.local |
| toolkit | on | 192.168.99.119 | drone.toolkit.local |
| toolkit | on | 192.168.99.119 | code.toolkit.local |
+---------+--------+----------------+----------------------------+
```

Expand Down Expand Up @@ -140,11 +141,7 @@ Disabling a profile does not remove the content from the hosts file, this way yo
+---------+--------+----------------+------------------------------+
| PROFILE | STATUS | IP | DOMAIN |
+---------+--------+----------------+------------------------------+
| default | on | 127.0.0.1 | localhost |
| default | on | 127.0.1.1 | some-existing.local |
| default | on | ::1 | ip6-localhost |
+---------+--------+----------------+------------------------------+
| another | off | 192.168.1.51 | jupyter.toolkit-lite.local |
...
+---------+--------+----------------+------------------------------+
| awesome | off | 127.0.0.1 | web.my-awesome-project.local |
| awesome | off | 127.0.0.1 | api.my-awesome-project.local |
Expand All @@ -157,11 +154,7 @@ Disabling a profile does not remove the content from the hosts file, this way yo
+---------+--------+----------------+------------------------------+
| PROFILE | STATUS | IP | DOMAIN |
+---------+--------+----------------+------------------------------+
| default | on | 127.0.0.1 | localhost |
| default | on | 127.0.1.1 | some-existing.local |
| default | on | ::1 | ip6-localhost |
+---------+--------+----------------+------------------------------+
| another | off | 192.168.1.51 | jupyter.toolkit-lite.local |
...
+---------+--------+----------------+------------------------------+
| awesome | on | 127.0.0.1 | web.my-awesome-project.local |
| awesome | on | 127.0.0.1 | api.my-awesome-project.local |
Expand Down
Binary file added docs/hostctl.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 46b3f0c

Please sign in to comment.