git-annex/Command/Assistant.hs
Joey Hess 3ee44cf8fe add assistant command
like watch, but more magic
2012-06-22 13:04:03 -04:00

18 lines
436 B
Haskell

{- git-annex assistant
-
- Copyright 2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
-}
module Command.Assistant where
import Command
import qualified Command.Watch
def :: [Command]
def = [withOptions [Command.Watch.foregroundOption, Command.Watch.stopOption] $
command "assistant" paramNothing seek "automatically handle changes"]
seek :: [CommandSeek]
seek = Command.Watch.mkSeek True