erd-0.2.1.0: An entity-relationship diagram generator from a plain text description.

Erd.Config

Synopsis

# Documentation

data Config Source #

Config represents all information from command line flags.

Constructors

 Config Fieldscin :: (String, Handle) cout :: (String, Handle) outfmt :: Maybe GraphvizOutput edgeType :: Maybe EdgeType configFile :: Maybe FilePath

Creates a new Config value from command line options. If an output path is given and --fmt is omitted, then a format will be inferred from the output path extension. Failing all of that, PDF is used by default.