Go API Documentation

github.com/go-task/task/v3/internal/summary

No package summary is available.

Package

Files: 1. Third party imports: 0. Imports from organisation: 0. Tests: 0. Benchmarks: 0.

Functions

func PrintSpaceBetweenSummaries

Uses: logger.Default.

func PrintTask

func PrintTasks

Private functions

func hasDescription

func hasSummary

func printNoDescriptionOrSummary

References: logger.Default.

func printTaskAliases

References: logger.Cyan, logger.Default.

func printTaskCommands

References: logger.Default, logger.Green, logger.Yellow.

func printTaskDependencies

References: logger.Default.

func printTaskDescribingText

func printTaskDescription

References: logger.Default.

func printTaskName

References: logger.Default, logger.Green.

func printTaskSummary

References: logger.Default, strings.Split.


Tests

Files: 1. Third party imports: 1. Imports from organisation: 0. Tests: 8. Benchmarks: 0.

Test functions

TestDoesNotPrintCommandIfMissing

References: assert.NotContains, ast.Cmd, ast.Task, summary.PrintTask.

TestDoesNotPrintDependenciesIfMissing

References: assert.NotContains, ast.Dep, ast.Task, summary.PrintTask.

TestLayout

References: assert.Equal, ast.Cmd, ast.Dep, ast.Task, summary.PrintTask.

TestPrintAllWithSpaces

References: assert.Contains, assert.True, ast.NewTasks, ast.Task, ast.Taskfile, strings.HasPrefix, summary.PrintTasks.

TestPrintDescriptionAsFallback

References: assert.Contains, assert.NotContains, ast.Task, summary.PrintTask.

TestPrintTaskCommandsIfPresent

References: assert.Contains, ast.Cmd, ast.Task, summary.PrintTask.

TestPrintTaskName

References: assert.Contains, ast.Task, summary.PrintTask.

TestPrintsDependenciesIfPresent

References: assert.Contains, ast.Dep, ast.Task, summary.PrintTask.