gemini-exports-0.1.0.1: Generate CSV Exports of Your Gemini Trades, Transfers, & Earn Transactions
Safe HaskellSafe-Inferred
LanguageHaskell2010

Console.Gemini.Exports.Main

Description

CLI application harness.

Synopsis

Documentation

run :: ConfigFile -> Args -> IO () Source #

Run the executable.

getArgs :: IO Args Source #

Parse the CLI arguments with CmdArgs.

data Args Source #

CLI arguments supported by the executable.

Instances

Instances details
Data Args Source # 
Instance details

Defined in Console.Gemini.Exports.Main

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Args -> c Args #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Args #

toConstr :: Args -> Constr #

dataTypeOf :: Args -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Args) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Args) #

gmapT :: (forall b. Data b => b -> b) -> Args -> Args #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Args -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Args -> r #

gmapQ :: (forall d. Data d => d -> u) -> Args -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Args -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Args -> m Args #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Args -> m Args #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Args -> m Args #

Read Args Source # 
Instance details

Defined in Console.Gemini.Exports.Main

Show Args Source # 
Instance details

Defined in Console.Gemini.Exports.Main

Methods

showsPrec :: Int -> Args -> ShowS #

show :: Args -> String #

showList :: [Args] -> ShowS #

Eq Args Source # 
Instance details

Defined in Console.Gemini.Exports.Main

Methods

(==) :: Args -> Args -> Bool #

(/=) :: Args -> Args -> Bool #

loadConfigFile :: IO ConfigFile Source #

Attempt to read a ConfigFile from $XDG_CONFIG_HOME/gemini-exports/config.yaml. Print any parsing errors to stderr.