projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8432ce2f6da50951595b4b7212cff2be1f09b003
[platform/framework/web/crosswalk-tizen.git]
/
1
#!/usr/bin/env node
2
var which = require("../")
3
if (process.argv.length < 3) {
4
console.error("Usage: which <thing>")
5
process.exit(1)
6
}
7
8
which(process.argv[2], function (er, thing) {
9
if (er) {
10
console.error(er.message)
11
process.exit(er.errno || 127)
12
}
13
console.log(thing)
14
})