Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- mergeYamlSpecWithCli :: (MonadIO m, MonadCatch m) => SpecFile -> SharedCommandOptions -> (forall b. ToDbBackend b => b -> YamlSpec b -> m ExitCode) -> m ExitCode
- onlyBigQuery :: forall b m. Typeable b => (YamlSpec BigQuery -> m ExitCode) -> b -> YamlSpec b -> m ExitCode
- work :: (MonadIO m, MonadCatch m) => AuthCommandOptions -> m ExitCode
- doWork :: (MonadIO m, MonadCatch m) => AuthCommandOptions -> (OAuth2Context -> NapkinOAuth2Request) -> m ExitCode
- mkSpecFile :: MonadIO m => FilePath -> m SpecFile
Documentation
:: (MonadIO m, MonadCatch m) | |
=> SpecFile | |
-> SharedCommandOptions | shared cli options |
-> (forall b. ToDbBackend b => b -> YamlSpec b -> m ExitCode) | |
-> m ExitCode |
onlyBigQuery :: forall b m. Typeable b => (YamlSpec BigQuery -> m ExitCode) -> b -> YamlSpec b -> m ExitCode #
work :: (MonadIO m, MonadCatch m) => AuthCommandOptions -> m ExitCode #
Creates the Napkin.Auth.Types.NapkinOAuth2Request and makes a request to the Napkin.Auth.GoogleFlow
doWork :: (MonadIO m, MonadCatch m) => AuthCommandOptions -> (OAuth2Context -> NapkinOAuth2Request) -> m ExitCode #
mkSpecFile :: MonadIO m => FilePath -> m SpecFile #