refactored and generalized pre-command sanity checking
This commit is contained in:
parent
66194684ac
commit
5b74b130a3
38 changed files with 73 additions and 67 deletions
|
@ -14,8 +14,7 @@ import Logs.UUID
|
|||
import Init
|
||||
|
||||
command :: [Command]
|
||||
command = [standaloneCommand "init" paramDesc seek
|
||||
"initialize git-annex"]
|
||||
command = [Command "init" paramDesc needsNothing seek "initialize git-annex"]
|
||||
|
||||
seek :: [CommandSeek]
|
||||
seek = [withWords start]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue