Method
GetOutputAndReset
(args bool, retVal *[]string)
Source from the content-addressed store, hash-verified
| 200 | } |
| 201 | |
| 202 | func (cmd *CliRpcCmd) GetOutputAndReset(args bool, retVal *[]string) error { |
| 203 | v := strings.TrimSuffix(cmd.outputBucket.String(), "\n") |
| 204 | *retVal = strings.Split(v, "\n") |
| 205 | return nil |
| 206 | } |
| 207 | |
| 208 | func (cmd *CliRpcCmd) GetCurrentOrg(args string, retVal *plugin_models.Organization) error { |
| 209 | retVal.Name = cmd.cliConfig.OrganizationFields().Name |
Callers
nothing calls this directly
Tested by
no test coverage detected