DATAGEN(1)

NAME
datagen - runs DataGen HydraTK extension

SYNOPSIS
datagen [options] command

DESCRIPTION
DataGen extension provides utilities for data generation. Following generators are supported:
  ASN.1 - encoder/decoder with ASN.1 specification
  JSON - sample generator from JSON specification
  XML - sample generator from WSDL/XSD specification

COMMANDS
asn1 - encode text file, decode binary file according to ASN.1 specification
  Options:
    --action encode|decode - action
    --element <title> - element title from specification
    --input <path> - input filename
    --spec <path> - specification filename
    [--output <path>] - output filename, default input filename with changed suffix help - prints help json - generate sample json file according to JSON specification
  Options:
    --spec <path> - specification filename
    [--output <path>] - output filename, default sample.json xml - generate sample xml file according to WSDL/XSD specification
  Options:
    --element <title> - element title from specification
    --spec <path> - specification filename
    [--envelope] - generate including SOAP envelope
    [--output <path>] - output filename, default sample.xml

GLOBAL OPTIONS
-c, --config <file> - reads the alternate configuration file -d, --debug <level> - debug turned on with specified level > 0 -e, --debug-channel <channel number, ..> - debug channel filter turned on -f, --force - enforces command -i, --interactive - turns on interactive mode -l, --language <language> - sets the text output language, the list of available languages is specified in the docs -m, --run-mode <mode> - sets the running mode, the list of available modes is specified in the docs

FILES AND DIRECTORIES
Configuration file: /etc/hydratk/conf.d/hydratk-ext-datagen.conf

AUTHOR
Petr Rašek (bowman@hydratk.org), HydraTK team (team@hydratk.org)

INTERNET RESOURCES
Main website: https://www.extensions.hydratk.org/datagen Documentation: https://www.hydratk.org/docs Downloads https://pypi.python.org/pypi/hydratk-ext-datagen, https://github.com/hydratk/hydratk-ext-datagen

LICENSING
hydratk-ext-datagen is distributed under BSD license. See the file "LICENSE.txt" in the source distribution for information.