Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- cli :: IO ()
- cli' :: Maybe CtxParams -> [String] -> IO ()
- paramsParser :: Parser CtxParams
- runParse :: ParserInfo a -> [String] -> IO a
- cliInfo :: ParserInfo CLI
- cliParser :: Parser CLI
- execute :: Maybe CtxParams -> CLI -> IO ()
- data Command
- = Version
- | Keystore
- | Initialise FilePath
- | UpdateSettings FilePath
- | ListSettings
- | ListSettingOpts (Maybe OptEnum)
- | AddTrigger TriggerID Pattern FilePath
- | RmvTrigger TriggerID
- | ListTriggers
- | Create Name Comment Identity (Maybe EnvVar) (Maybe FilePath) [Safeguard]
- | CreateKeyPair Name Comment Identity [Safeguard]
- | Secure Name (Maybe FilePath) [Safeguard]
- | List
- | Info [Name]
- | ShowIdentity Bool Name
- | ShowComment Bool Name
- | ShowDate Bool Name
- | ShowHash Bool Name
- | ShowHashComment Bool Name
- | ShowHashSalt Bool Name
- | ShowPublic Bool Name
- | ShowSecret Bool Name
- | Encrypt Name FilePath FilePath
- | Decrypt FilePath FilePath
- | Sign Name FilePath FilePath
- | Verify FilePath FilePath
- | Delete [Name]
- data CtxParams = CtxParams {}
- data CLI = CLI {}
Documentation
cliInfo :: ParserInfo CLI Source #
The parameters used to set up a KeyStore session.