foliage/app/Foliage/CmdCreateKeys.hs
Andrea Bedini 080197e9e2
Big rewrite
1. Foliage takes as input a complete description of the index, where
   source distributions and revisions come with a timestamp. This allows
   us to recreate the entire index in a reproducible way.

2. Added a experimental command to import an index from a Hackage (as
   downloaded with Cabal). This was originally a testing/development
   need but there might be different use cases.
2022-03-28 17:18:27 +08:00

9 lines
208 B
Haskell

module Foliage.CmdCreateKeys where
import Foliage.HackageSecurity
cmdCreateKeys :: FilePath -> IO ()
cmdCreateKeys keyPath = do
putStrLn $ "Creating a new set of keys in " <> keyPath
createKeys keyPath