hercules-ci-cli-0.3.6: The hci command for working with Hercules CI
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hercules.CLI.Nix

Documentation

createHerculesCIArgs :: Maybe Text -> IO HerculesCIArgs Source #

resolveInputs :: (Has HerculesClientToken r, Has HerculesClientEnv r) => UnliftIO (RIO r) -> Ptr EvalState -> Maybe ProjectPath -> Map ByteString InputDeclaration -> IO (Value NixAttrs) Source #

withNix :: MonadUnliftIO m => (Store -> Ptr EvalState -> m b) -> m b Source #

mkSemanticTextCompleter :: (Text -> IO [(CompletionItemOptions, Text)]) -> Completer Source #

mkAttributePathCompleter :: (([Text], Text) -> IO [(CompletionItemOptions, ([Text], Bool))]) -> Completer Source #

isoCompleter :: (b -> a) -> (a -> b) -> (a -> IO [(CompletionItemOptions, a)]) -> b -> IO [(CompletionItemOptions, b)] Source #

nestedCompleter :: (a -> b) -> (c -> d) -> (b -> IO [(CompletionItemOptions, c)]) -> a -> IO [(CompletionItemOptions, d)] Source #

attrByPath :: Ptr EvalState -> RawValue -> [ByteString] -> IO (Maybe RawValue) Source #

mkTextCompleter :: (Text -> IO [(CompletionItemOptions, Text)]) -> Completer Source #

mkImmutableGitInputFlakeThunk :: Ptr EvalState -> ImmutableGitInput -> IO RawValue Source #