| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Hadolint.Shell
Documentation
data ParsedShell Source #
Constructors
| ParsedShell | |
Fields
| |
shellcheck :: ShellOpts -> ParsedShell -> [Comment] Source #
parseShell :: Text -> ParsedShell Source #
extractTokensWith :: (Token -> Maybe Token) -> ParsedShell -> [Token] Source #
findPipes :: ParsedShell -> [Token] Source #
hasPipes :: ParsedShell -> Bool Source #
findCommands :: ParsedShell -> [Token] Source #
allCommands :: (Token -> Bool) -> ParsedShell -> Bool Source #
noCommands :: (Token -> Bool) -> ParsedShell -> Bool Source #
findCommandNames :: ParsedShell -> [String] Source #
getAllArgs :: Token -> [String] Source #
getArgsNoFlags :: Token -> [String] Source #