swish-0.9.0.12: A semantic web toolkit.

PortabilityOverloadedStrings
Stabilityexperimental
MaintainerDouglas Burke
Safe HaskellNone

Swish.Commands

Description

Functions to deal with indivudual Swish command options.

Synopsis

Documentation

swishFormat :: SwishFormat -> SwishStateIO ()Source

Set the file format.

swishBase :: Maybe QName -> SwishStateIO ()Source

Set (or clear) the base URI.

swishInputSource

Arguments

:: Maybe String

A filename or, if Nothing, then use standard input.

-> SwishStateIO () 

Read in a graph and make it the current graph.

swishOutputSource

Arguments

:: Maybe String

A filename or, if Nothing, then use standard output.

-> SwishStateIO () 

Write out the current graph.

swishMergeSource

Arguments

:: Maybe String

A filename or, if Nothing, then use standard input.

-> SwishStateIO () 

Read in a graph and merge it with the current graph.

swishCompareSource

Arguments

:: Maybe String

A filename or, if Nothing, then use standard input.

-> SwishStateIO () 

Read in a graph and compare it with the current graph.

swishGraphDiffSource

Arguments

:: Maybe String

A filename or, if Nothing, then use standard input.

-> SwishStateIO () 

Read in a graph and display the differences to the current graph to standard output.

swishScriptSource

Arguments

:: Maybe String

A filename or, if Nothing, then use standard input.

-> SwishStateIO () 

Read in a script and execute it.