-
-
Notifications
You must be signed in to change notification settings - Fork 45
/
doc.go
34 lines (28 loc) · 1.19 KB
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
__ __ __ __
/ /_ ____ _____ / /_ _____ / /_ / /
/ __ \ / __ \ / ___/ / __/ / ___/ / __/ / /
/ / / // /_/ / (__ ) / /_ / /__ / /_ / /
/_/ /_/ \____/ /____/ \__/ \___/ \__/ /_/
hostctl is a CLI tool to manage your hosts file with ease.
You can have multiple profiles, enable/disable exactly what
you need each time with a simple interface.
Usage:
hostctl [command]
Available Commands:
add Add content to a profile in your hosts file.
backup Creates a backup copy of your hosts file
disable Disable a profile from your hosts file.
enable Enable a profile on your hosts file.
help Help about any command
list Shows a detailed list of profiles on your hosts file.
remove Remove a profile from your hosts file.
restore Restore hosts file content from a backup file.
set Set content to a profile in your hosts file.
Flags:
-h, --help help for hostctl
--host-file string Hosts file path (default "/etc/hosts")
-p, --profile string Choose a profile
Use "hostctl [command] --help" for more information about a command.
*/
package main