add assistant command
like watch, but more magic
This commit is contained in:
parent
cf9bf920e8
commit
3ee44cf8fe
5 changed files with 36 additions and 12 deletions
18
Command/Assistant.hs
Normal file
18
Command/Assistant.hs
Normal file
|
@ -0,0 +1,18 @@
|
|||
{- 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
|
Loading…
Add table
Add a link
Reference in a new issue