| Safe Haskell | None |
|---|
Data.KeyStore.CLI
- 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 {
- cp_store :: Maybe FilePath
- cp_debug :: Maybe Bool
- cp_readonly :: Maybe Bool
- data CLI = CLI {}
Documentation
runParse :: ParserInfo a -> [String] -> IO aSource
Constructors
| 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] |
Instances
| Show Command |
The parameters used to set up a KeyStore session.
Constructors
| CtxParams | |
Fields
| |
Instances
| Show CtxParams |