Hercules.CLI.JSON
mergePaths :: [([Text], Value)] -> Either Text Value Source #
mergeLeafPaths :: [Text] -> [([Text], Value)] -> Either Text Value Source #
showPath :: [Text] -> Text Source #
toLeafPaths :: [([Text], Value)] -> [([Text], Value)] Source #
options :: Parser (Maybe Text -> IO Value) Source #
readJsonEnvWithKey :: (Text, [Char]) -> IO (Text, Value) Source #
readEnvWithKey :: (Text, [Char]) -> IO (Text, Text) Source #
envCompleter :: Completer Source #
readFileWithKey :: (Text, FilePath) -> IO (Text, Text) Source #
readJsonFileWithKey :: FromJSON b => (Text, FilePath) -> IO (Text, b) Source #
readJsonFile :: FromJSON b => FilePath -> IO b Source #
writeJsonFile :: ToJSON a => FilePath -> a -> IO () Source #
printJson :: ToJSON a => a -> IO () Source #
prettyConf :: Config Source #
askPasswordWithKey :: Maybe Text -> Text -> IO (Text, Text) Source #
withEcho :: Bool -> IO a -> IO a Source #