hopenpgp-tools 0.19.1 → 0.19.2
raw patch · 4 files changed
+14/−14 lines, 4 files
Files
- hkt.hs +3/−3
- hokey.hs +3/−3
- hopenpgp-tools.cabal +4/−4
- hot.hs +4/−4
hkt.hs view
@@ -77,8 +77,8 @@ import GHC.Generics import System.Directory (getHomeDirectory) -import Options.Applicative.Builder (argument, auto, command, footerDoc, headerDoc, help, helpDoc, info, long, metavar, option, prefs, progDesc, showDefault, showHelpOnError, str, strOption, subparser, switch, value)-import Options.Applicative.Extra (customExecParser, helper)+import Options.Applicative.Builder (argument, auto, command, footerDoc, headerDoc, help, helpDoc, info, long, metavar, option, prefs, progDesc, showDefault, showHelpOnError, str, strOption, switch, value)+import Options.Applicative.Extra (customExecParser, helper, hsubparser) import Options.Applicative.Types (Parser) import System.IO (Handle, hFlush, stderr, hSetBuffering, BufferMode(..))@@ -234,7 +234,7 @@ customExecParser (prefs showHelpOnError) (info (helper <*> versioner <*> cmd homedir) (headerDoc (Just (banner "hkt")) <> progDesc "hOpenPGP Keyring Tool" <> footerDoc (Just (warranty "hkt")))) >>= dispatch cmd :: String -> Parser Command-cmd homedir = subparser+cmd homedir = hsubparser ( command "export-pubkeys" (info ( CmdExportPubkeys <$> listO homedir) ( progDesc "export matching keys to stdout" <> footerDoc (Just foot) )) <> command "findpaths" (info ( CmdFindPaths <$> findPathsO homedir) ( progDesc "find short paths between keys" <> footerDoc (Just foot) )) <> command "graph" (info ( CmdGraph <$> graphO homedir) ( progDesc "graph certifications" <> footerDoc (Just foot) ))
hokey.hs view
@@ -69,8 +69,8 @@ import qualified Data.Yaml as Y import GHC.Generics -import Options.Applicative.Builder (argument, auto, command, eitherReader, footerDoc, headerDoc, help, helpDoc, info, long, metavar, prefs, progDesc, showDefault, showHelpOnError, option, subparser, str, value)-import Options.Applicative.Extra (customExecParser, helper)+import Options.Applicative.Builder (argument, auto, command, eitherReader, footerDoc, headerDoc, help, helpDoc, info, long, metavar, prefs, progDesc, showDefault, showHelpOnError, option, str, value)+import Options.Applicative.Extra (customExecParser, helper, hsubparser) import Options.Applicative.Types (Parser) import System.IO (Handle, hFlush, hPutStrLn, stderr, stdin, stdout, hSetBuffering, BufferMode(..))@@ -372,7 +372,7 @@ customExecParser (prefs showHelpOnError) (info (helper <*> versioner <*> cmd) (headerDoc (Just (banner "hokey")) <> progDesc "hOpenPGP Key utility" <> footerDoc (Just (warranty "hokey")))) >>= dispatch cmd :: Parser Command-cmd = subparser+cmd = hsubparser ( command "canonicalize" (info ( pure CmdCanonicalize) ( progDesc "arrange key components in a canonical ordering" )) <> command "fetch" (info ( CmdFetch <$> fetchO) ( progDesc "fetch key(s) from keyserver" )) <> command "lint" (info ( CmdLint <$> lintO) ( progDesc "check key(s) for 'best practices'" ))
hopenpgp-tools.cabal view
@@ -1,5 +1,5 @@ name: hopenpgp-tools-version: 0.19.1+version: 0.19.2 synopsis: hOpenPGP-based command-line tools description: command-line tools for performing some OpenPGP-related operations homepage: http://floss.scru.org/hopenpgp-tools@@ -7,7 +7,7 @@ license-file: LICENSE author: Clint Adams maintainer: Clint Adams <clint@debian.org>-copyright: 2012-2015 Clint Adams+copyright: 2012-2016 Clint Adams category: Codec, Data build-type: Simple cabal-version: >=1.10@@ -121,9 +121,9 @@ source-repository head type: git- location: git://git.debian.org/users/clint/hopenpgp-tools.git+ location: https://anonscm.debian.org/git/users/clint/hopenpgp-tools.git source-repository this type: git- location: git://git.debian.org/users/clint/hopenpgp-tools.git+ location: https://anonscm.debian.org/git/users/clint/hopenpgp-tools.git tag: hopenpgp-tools/0.19.1
hot.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings, RecordWildCards #-} -- hot.hs: hOpenPGP Tool--- Copyright © 2012-2015 Clint Adams+-- Copyright © 2012-2016 Clint Adams -- -- vim: softtabstop=4:shiftwidth=4:expandtab --@@ -50,8 +50,8 @@ import System.IO (stdin, stderr, stdout, Handle, hFlush, hPutStrLn, hSetBuffering, BufferMode(..)) -import Options.Applicative.Builder (argument, command, footerDoc, headerDoc, help, helpDoc, info, long, metavar, option, eitherReader, prefs, progDesc, showDefaultWith, showHelpOnError, str, strOption, subparser, value)-import Options.Applicative.Extra (customExecParser, helper)+import Options.Applicative.Builder (argument, command, footerDoc, headerDoc, help, helpDoc, info, long, metavar, option, eitherReader, prefs, progDesc, showDefaultWith, showHelpOnError, str, strOption, value)+import Options.Applicative.Extra (customExecParser, helper, hsubparser) import Options.Applicative.Types (Parser) import qualified Text.PrettyPrint.ANSI.Leijen as PPAL import Text.PrettyPrint.Free (Pretty, pretty)@@ -160,7 +160,7 @@ customExecParser (prefs showHelpOnError) (info (helper <*> versioner <*> cmd) (headerDoc (Just (banner "hot")) <> progDesc "hOpenPGP OpenPGP-message Tool" <> footerDoc (Just (warranty "hot")))) >>= dispatch cmd :: Parser Command-cmd = subparser+cmd = hsubparser ( command "armor" (info ( ArmorC <$> aoP ) ( progDesc "Armor stdin to stdout" )) <> command "dearmor" (info ( pure DeArmorC ) ( progDesc "Dearmor stdin to stdout" )) <> command "dump" (info ( DumpC <$> doP ) ( progDesc "Dump OpenPGP packets from stdin" ))