ogma-core-1.14.0: Ogma: Helper tool to interoperate between Copilot and other languages.
Safe HaskellNone
LanguageHaskell2010

Command.Report

Description

Produce a report of the diagrams and requirements in the input files.

Synopsis

Documentation

command Source #

Arguments

:: CommandOptions

Customization options

-> IO (Result ErrorCode) 

Generate report of a spec or diagram given in an input file.

PRE: The file given is readable, contains a valid file with recognizable format, the formulas in the file do not use any identifiers that exist in Copilot, or any of prop, clock, ftp, notPreviousNot. The template, if provided, exists and uses the variables needed by the report application generator. The target directory is writable and there's enough disk space to copy the files over.

data CommandOptions Source #

Options used to customize the interpretation of input specifications and the resulting report.

type ErrorCode = Int Source #

Encoding of reasons why the command can fail.