git ssb

39+

cel / git-ssb



Tree: 873ff04e1eef1fb6e86d5e48cbaf0da8e8ac7dfe

Files: 873ff04e1eef1fb6e86d5e48cbaf0da8e8ac7dfe / lib / help.js

245 bytesRaw
1var cmds = require('./cmds')
2var fs = require('fs')
3
4module.exports = function (argv) {
5 var cmd = argv._[0]
6 var file = cmds.getCmd(cmd, 'txt')
7 if (!file) throw `No help for command '${cmd}'`
8 process.stdout.write(fs.readFileSync(file))
9}
10

Built with git-ssb-web