This is the command dia2code that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
dia2code - Generate code from Dia files
SYNOPSIS
dia2code [-t ada|c|cpp|cs|java|php|php5|python|ruby|shp|sql] [-d dir] [-nc] [-c] [-cl
classlist] [-v] diagramfile [-h] [--help]
DESCRIPTION
dia2code generates code from a Dia file containing a UML diagram. Output code can be: Ada,
C, C++, C#, Java, PHP, PHP5, Python, Ruby, shapefiles and SQL.
OPTIONS
-h --help
Print help text and exit.
-t ada|c|cpp|cs|java|php|php5|python|ruby|shp|sql
Selects the output language, default is C++.
-d dir Output generated files to <dir>, default is "."
-nc Do not overwrite files that already exist.
-cl classlist
Generate code only for the classes specified in the comma-separated <classlist>.
E.g: Base,Derived.
-v Invert the class list selection. When used without -cl prevents any file from
being created.
-l licensefile
Prepend the specified license to every source file generated.
diagramfile
The Dia file that holds the diagram to be read.
Use dia2code online using onworks.net services