(entity, opts)
| 65 | } |
| 66 | |
| 67 | async create (entity, opts) { |
| 68 | await libteam.create(entity, opts) |
| 69 | if (opts.json) { |
| 70 | output.buffer({ |
| 71 | created: true, |
| 72 | team: entity, |
| 73 | }) |
| 74 | } else if (opts.parseable) { |
| 75 | output.standard(`${entity}\tcreated`) |
| 76 | } else if (!this.npm.silent) { |
| 77 | output.standard(`+@${entity}`) |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | async destroy (entity, opts) { |
| 82 | await libteam.destroy(entity, opts) |