napkin-0.5.14
Safe HaskellSafe-Inferred
LanguageGHC2021

Napkin.Cli.Auth.CmdRunner

Synopsis

Documentation

mergeYamlSpecWithCli #

Arguments

:: (MonadIO m, MonadError NapkinError m) 
=> SpecFile 
-> SharedCommandOptions

shared cli options

-> (forall b. Typeable b => ToDbBackend b => b -> YamlSpec b -> m ()) 
-> m () 

work :: AuthCommandOptions -> LogOptions -> CLICommand #

Creates the Napkin.Auth.Types.NapkinOAuth2Request and makes a request to the Napkin.Auth.GoogleFlow