swish-0.10.8.0: A semantic web toolkit.
Copyright(c) 2003 Graham Klyne 2009 Vasili I Galchin 2011 2012 2014 2020 Douglas Burke
LicenseGPL V2
MaintainerDouglas Burke
Stabilityexperimental
PortabilityFlexibleContexts, OverloadedStrings
Safe HaskellSafe-Inferred
LanguageHaskell2010

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.

swishInput Source #

Arguments

:: Maybe String

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

-> SwishStateIO () 

Read in a graph and make it the current graph.

swishOutput Source #

Arguments

:: Maybe String

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

-> SwishStateIO () 

Write out the current graph.

swishMerge Source #

Arguments

:: Maybe String

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

-> SwishStateIO () 

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

swishCompare Source #

Arguments

:: Maybe String

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

-> SwishStateIO () 

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

swishGraphDiff Source #

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.

swishScript Source #

Arguments

:: Maybe String

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

-> SwishStateIO () 

Read in a script and execute it.