Add appends one or more CmdExtras to the list of CmdExtras.
(es ...CmdExtra)
| 32 | |
| 33 | // Add appends one or more CmdExtras to the list of CmdExtras. |
| 34 | func (e *CmdExtras) Add(es ...CmdExtra) { |
| 35 | if e != nil { |
| 36 | *e = append(*e, es...) |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | // Replace replaces the `old` CmdExtra with the `new` CmdExtra. |
| 41 | // If `old` is not found, this does nothing. |
no outgoing calls
no test coverage detected