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