(file: string)
| 148 | } |
| 149 | |
| 150 | function info(file: string): Item { |
| 151 | const item = full(file) |
| 152 | const n = name(item) |
| 153 | return { |
| 154 | path: item, |
| 155 | name: resolve(n) ? n : item, |
| 156 | acceptable: ok(item), |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | export function args(file: string, command: string, cwd: string) { |
| 161 | const n = name(file) |