opt-env-conf-0.9.0.0: Settings parsing for Haskell: command-line arguments, environment variables, and configuration values.
Safe HaskellSafe-Inferred
LanguageHaskell2010

OptEnvConf.Completion

Synopsis

Documentation

bashCompletionScript :: Path Abs File -> String -> String Source #

Generated bash shell completion script

zshCompletionScript :: Path Abs File -> String -> String Source #

Generated zsh shell completion script

fishCompletionScript :: Path Abs File -> String -> String Source #

Generated fish shell completion script

runCompletionQuery Source #

Arguments

:: Parser a 
-> Bool

Enriched

-> Int

Where completion is invoked (inbetween arguments)

-> [String] 
-> IO () 

data Completion a Source #

Constructors

Completion 

Fields

Instances

Instances details
IsString str => IsString (Completion str) Source # 
Instance details

Defined in OptEnvConf.Completion

Methods

fromString :: String -> Completion str #

Show a => Show (Completion a) Source # 
Instance details

Defined in OptEnvConf.Completion

Eq a => Eq (Completion a) Source # 
Instance details

Defined in OptEnvConf.Completion

Methods

(==) :: Completion a -> Completion a -> Bool #

(/=) :: Completion a -> Completion a -> Bool #

Ord a => Ord (Completion a) Source # 
Instance details

Defined in OptEnvConf.Completion

data Suggestion Source #

Instances

Instances details
IsString Suggestion Source # 
Instance details

Defined in OptEnvConf.Completion