Commit d4db2a8da13d8f78996e6913763056d5dd83a8a6
Print 'Loading...' for commands that list things
cel committed on 11/7/2016, 12:23:52 AMParent: 5a32bb514ba7c50bed24148d4dc1fbd761c13c6e
Files changed
lib/forks.js | changed |
lib/issues.js | changed |
lib/pull-requests.js | changed |
lib/forks.js | ||
---|---|---|
@@ -23,8 +23,9 @@ | ||
23 | 23 … | ]) |
24 | 24 … | } |
25 | 25 … | |
26 | 26 … | module.exports = function repoForks(argv) { |
27 … | + process.stderr.write('Loading forks...\r') | |
27 | 28 … | var id = u.repoId(u.getRemoteUrl(argv._[0])) || u.getDefaultRemote() |
28 | 29 … | if (!id) |
29 | 30 … | err(1, 'unable to find git-ssb repo') |
30 | 31 … |
lib/issues.js | ||
---|---|---|
@@ -4,8 +4,9 @@ | ||
4 | 4 … | var getAbout = require('ssb-avatar') |
5 | 5 … | var Issues = require('ssb-issues') |
6 | 6 … | |
7 | 7 … | module.exports = function (argv) { |
8 … | + process.stderr.write('Loading issues...\r') | |
8 | 9 … | var id = u.repoId(u.getRemoteUrl(argv._[0])) || u.getDefaultRemote() |
9 | 10 … | if (!id) |
10 | 11 … | err(1, 'unable to find git-ssb repo') |
11 | 12 … |
lib/pull-requests.js | ||
---|---|---|
@@ -4,8 +4,9 @@ | ||
4 | 4 … | var getAbout = require('ssb-avatar') |
5 | 5 … | var PRs = require('ssb-pull-requests') |
6 | 6 … | |
7 | 7 … | module.exports = function (argv) { |
8 … | + process.stderr.write('Loading pull requests...\r') | |
8 | 9 … | var headRepo = u.repoId(u.getRemoteUrl(argv._[0])) || u.getDefaultRemote() |
9 | 10 … | if (!headRepo) |
10 | 11 … | err(1, 'unable to find git-ssb head repo') |
11 | 12 … |
Built with git-ssb-web