Documentation
¶
Index ¶
- func CleanPath(absPath string) string
- func FormatOutput(csvText string, columns []string) string
- func PrintToConsole(results []Result)
- func WriteCSVTable(rootDirectory string, info ScriptInfo, results []Result) error
- func WriteJSONOutput(rootDirectory string, scriptPath string, results []Result) error
- func WriteTable(rootDirectory string, scriptPath string, results []Result) error
- type Result
- type ScriptInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatOutput ¶
FormatOutput formats CSV output based on column headers
func PrintToConsole ¶
func PrintToConsole(results []Result)
PrintToConsole renders the results in markdown format to the console using Glamour
func WriteCSVTable ¶
func WriteCSVTable(rootDirectory string, info ScriptInfo, results []Result) error
WriteCSVTable creates a .csv file summarizing the results
func WriteJSONOutput ¶
WriteJSONOutput creates a .json file summarizing the results
Types ¶
Click to show internal directories.
Click to hide internal directories.