Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllLines bool
AllLines Set to true to display comments when listing.
View Source
var Comment string
Comment Adds a comment to the entry for better identification later.
View Source
var Section string
Section Is a named section with which to edit hosts in.
View Source
var Verbose bool
Verbose Set to true for verbose output on a given command.
Functions ¶
func AddAllLinesFlag ¶
AddAllLinesFlag Adds the all flag to a cobra command.
func AddCommentFlag ¶
AddCommentFlag Adds the comment flag to a cobra command.
func AddSectionFlag ¶
AddSectionFlag Adds the section flag to a cobra command.
func AddVerboseFlag ¶
AddVerboseFlag Adds the verbose flag to a cobra command.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.