MCPcopy
hub / github.com/go-task/task / Cmd

Struct Cmd

taskfile/ast/cmd.go:11–24  ·  view source on GitHub ↗

Cmd is a task command

Source from the content-addressed store, hash-verified

9
10// Cmd is a task command
11type Cmd struct {
12 Cmd string // Resolved command (used for execution and fingerprinting)
13 LogCmd string // Command with secrets masked (used for logging)
14 Task string
15 For *For
16 If string
17 Silent bool
18 Set []string
19 Shopt []string
20 Vars *Vars
21 IgnoreError bool
22 Defer bool
23 Platforms []*Platform
24}
25
26func (c *Cmd) DeepCopy() *Cmd {
27 if c == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected