(name, completer, cb)
| 126 | // This is actually a 'template' where the package name is used to setup |
| 127 | // the completion on the right command, and properly name the bash/zsh functions. |
| 128 | function script(name, completer, cb) { |
| 129 | var p = pth.join(__dirname, 'completion.sh'); |
| 130 | |
| 131 | fs.readFile(p, 'utf8', function (er, d) { |
| 132 | if (er) return cb(er); |
| 133 | cb(null, d); |
| 134 | }); |
| 135 | } |
| 136 | |
| 137 | function install(name, completer, cb) { |
| 138 | var markerIn = '###-begin-' + name + '-completion-###', |
no test coverage detected
searching dependent graphs…