{"modulePath":"github.com/telecomposeio/docker-cli","version":"v0.0.0-20230330191823-de0d30ff24fa","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package task\n\n## Functions\n\n```go\nfunc DefaultFormat(configFile *configfile.ConfigFile, quiet bool) string\n```\nDefaultFormat returns the default format from the config file, or table format if nothing is set in the config.\n\n```go\nfunc FormatWrite(ctx formatter.Context, tasks []swarm.Task, names map[string]string, nodes map[string]string) error\n```\nFormatWrite writes the context\n\n```go\nfunc NewTaskFormat(source string, quiet bool) formatter.Format\n```\nNewTaskFormat returns a Format for rendering using a task Context\n\n```go\nfunc Print(ctx context.Context, dockerCli command.Cli, tasks []swarm.Task, resolver *idresolver.IDResolver, trunc, quiet bool, format string) error\n```\nPrint task information in a format. Besides this, command \\`docker node ps \\\u003cnode\u003e\\` and \\`docker stack ps\\` will call this, too.\n\n","path":"github.com/telecomposeio/docker-cli/cli/command/task","name":"task","synopsis":"","isRedistributable":true}
