Documentation
¶
Overview ¶
Package tlcli provides helper utilities for command line programs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadFileLines ¶
Types ¶
type GenDocCommand ¶
func (*GenDocCommand) AddFlags ¶
func (cmd *GenDocCommand) AddFlags(fl *pflag.FlagSet)
func (*GenDocCommand) HelpDesc ¶
func (cmd *GenDocCommand) HelpDesc() (string, string)
func (*GenDocCommand) Parse ¶
func (cmd *GenDocCommand) Parse(args []string) error
type TwoFieldLine ¶ added in v1.3.1
TwoFieldLine represents a line with two whitespace-separated fields.
func ReadFileTwoFields ¶ added in v1.3.1
func ReadFileTwoFields(fn string) ([]TwoFieldLine, error)
ReadFileTwoFields reads a file and parses each line into two fields separated by whitespace or comma. Empty lines and lines with only whitespace are skipped. If a line has only one field, Field2 will be empty.
Click to show internal directories.
Click to hide internal directories.