stack-2.14.0: The Haskell Tool Stack
Safe HaskellSafe-Inferred
LanguageGHC2021

Data.Attoparsec.Args

Description

Parsing of Stack command line arguments

Synopsis

Documentation

argsParser :: EscapingMode -> Parser [String] Source #

A basic argument parser. It supports space-separated text, and string quotation with identity escaping: x -> x.

parseArgs :: EscapingMode -> Text -> Either String [String] Source #

Parse arguments using argsParser.