([cmd, ...keys])
| 113 | |
| 114 | // npm cache npx |
| 115 | async npx ([cmd, ...keys]) { |
| 116 | switch (cmd) { |
| 117 | case 'ls': |
| 118 | return await this.npxLs(keys) |
| 119 | case 'rm': |
| 120 | return await this.npxRm(keys) |
| 121 | case 'info': |
| 122 | return await this.npxInfo(keys) |
| 123 | default: |
| 124 | throw this.usageError() |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | // npm cache clean [spec]* |
| 129 | async clean (args) { |
no test coverage detected