-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I'd like to get an option to write a hosts record with comment. In my organization we're adding a lot of hosts records through our cli tool, and we want to specify that this record relates to our stuff
func (h *Hosts) AddCommented(ip string, comment string, hosts ...string) error { ... }
hosts, err := hostsfile.NewHosts()
hosts.AddCommented("5.226.232.29", "added-by-ORG", "environment-10-proxy")5.226.232.29 environment-10-proxy # added-by-ORG
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels