refactor some boilerplate
This commit is contained in:
parent
b400984ddf
commit
56bc3e95ca
31 changed files with 93 additions and 86 deletions
|
@ -29,9 +29,9 @@ start params = notBareRepo $ do
|
|||
|
||||
showStart "describe" name
|
||||
u <- Remote.nameToUUID name
|
||||
return $ Just $ perform u description
|
||||
next $ perform u description
|
||||
|
||||
perform :: UUID -> String -> CommandPerform
|
||||
perform u description = do
|
||||
describeUUID u description
|
||||
return $ Just $ Command.Init.cleanup
|
||||
next $ Command.Init.cleanup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue