lsql-csv-0.1.0.5: A tool for CSV files data querying from the shell with short queries.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Lsql.Csv.Lang.Args

Description

A module for command-line argument parsing.

Synopsis

Documentation

data Program Source #

A datatype representing all arguments for one run of the lsql-csv

Constructors

Program 

Fields

  • String

    A lsql-csv command

  • Char

    A primary delimiter

  • Char

    A secondary delimiter (quote)

  • Bool

    First line naming

Instances

Instances details
Show Program Source # 
Instance details

Defined in Lsql.Csv.Lang.Args

parseArgs :: [String] -> Program Source #

Parses given arguments to a Program representation.

reloadOpts :: Program -> [Option] -> Program Source #

Loads additional options to a Program.