scdatatools.cli.commands.forge module

class scdatatools.cli.commands.forge.forge[source]

Bases: object

Tools for interacting with the Dataforge database

extract(forge_file, filter=('*',), output='.', guid=False, guid_if_exists=True, xml=True, json=False, single=False)[source]

Extracts DataCore records and converts them to a given format (xml/json). Use the –filter argument to down-select which records to extract, by default it will extract all of them to the –output directory.

ls(forge_file, filter=('*',))[source]

List records in the Data Core

scdatatools.cli.commands.forge.forge_common_args(function)[source]
scdatatools.cli.commands.forge.parse_forge_args(forge_file, filter)[source]