INNER CODE UNIT · Go

init

ddev/ddev · cmd/ddev-hostname/ddev-hostname.go:92

func init() {
	RootCmd.Flags().BoolVarP(&removeHostnameFlag, "remove", "r", false, "Remove the provided host name - ip correlation")
	RootCmd.Flags().BoolVarP(&checkHostnameFlag, "check", "c", false, "Check to see if provided hostname is already in hosts file")
	RootCmd.MarkFlagsMutuallyExclusive("remove", "check")
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…