git-history/cli/cli.js

9 lines
189 B
JavaScript
Raw Normal View History

2019-02-10 05:21:05 +03:00
const runServer = require("./server");
const getCommits = require("./git");
const path = process.argv.slice(2);
const commitsPromise = getCommits(path);
runServer(path, commitsPromise);