remotes: New command, displays a compact table of remotes that contain files. (Thanks, anarcat for display code and mastensg for inspiration.)

Note that it would be possible to extend the display to show all
repositories. But there can be a lot of repositories that are not set up as
remotes, and it would significantly clutter the display to show them all.

Since we're not showing all repositories, it's not worth trying to show
numcopies count either.

I decided to embrace these limitations and call the command remotes.
This commit is contained in:
Joey Hess 2013-09-12 12:21:21 -04:00
parent c937d5b9f2
commit 82759b6a5d
4 changed files with 81 additions and 1 deletions

View file

@ -42,6 +42,7 @@ import qualified Command.Lock
import qualified Command.PreCommit
import qualified Command.Find
import qualified Command.Whereis
import qualified Command.Remotes
import qualified Command.Log
import qualified Command.Merge
import qualified Command.Status
@ -132,6 +133,7 @@ cmds = concat
, Command.AddUnused.def
, Command.Find.def
, Command.Whereis.def
, Command.Remotes.def
, Command.Log.def
, Command.Merge.def
, Command.Status.def