You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
438 B
20 lines
438 B
{-# LANGUAGE ImplicitParams #-}
|
|
{-# LANGUAGE OverloadedStrings #-}
|
|
|
|
module Main where
|
|
|
|
import PullWatch.PullWatch
|
|
import PullWatch.Environment (getPAT)
|
|
import qualified Data.Default as Default (def)
|
|
|
|
doMonitor :: RepoArgs -> IO ()
|
|
doMonitor (RepoArgs owner repo) = do
|
|
-- Set up authentication token from environment
|
|
pat <- getPAT
|
|
let ?pat = pat
|
|
|
|
monitorPRs Default.def [(owner, repo)]
|
|
|
|
return ()
|
|
|
|
main = parseRepoArgs doMonitor
|
|
|