refactored and generalized pre-command sanity checking

This commit is contained in:
Joey Hess 2011-10-27 16:31:35 -04:00
parent 66194684ac
commit 5b74b130a3
38 changed files with 73 additions and 67 deletions

View file

@ -11,7 +11,7 @@ import Command
import qualified Command.Move
command :: [Command]
command = [repoCommand "copy" paramPaths seek
command = [Command "copy" paramPaths needsRepo seek
"copy content of files to/from another repository"]
seek :: [CommandSeek]