dia2code(1)

πŸ“¦
version 1.0.0 Β· 2 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– dia2code β€” bestie edition πŸ’–

okay so this is the manual for dia2code (that's the dia2code(1) page, section 1 of the manual, iykyk) and honestly? it's giving "draw a UML diagram, get real code out of it" and we're obsessed. πŸ¦‹


✨ NAME ✨

dia2code β€” Generate code from Dia files πŸ’…


🌸 SYNOPSIS 🌸

dia2code [-t programminglanguage] [-d dir] [-nc] [-c] [-cl classlist]
[-v] diagramfile [-h] [--help]

πŸŽ€ DESCRIPTION πŸŽ€

so basically, dia2code generates code from a Dia file that has a UML diagram inside it. that's the whole vibe. you draw the diagram, it spits out code, main character energy fr fr. ✨

the output code can be any of these besties:

  • ActionScript3
  • Ada
  • C
  • C++
  • C#
  • Java
  • PHP4/PHP5
  • Python
  • Ruby
  • Shape File
  • SQL create statements

pick your fighter, no cap. πŸ‘‘


πŸ’œ OPTIONS πŸ’œ

  • -h, --help β€” prints the help text and then dips. exit stage left. 🫢
  • -t ada|as3|c|cpp|csharp|java|php|php5|python|ruby|shp|sql β€” picks the output language for you. the default is C++ (cpp), because of course it is. πŸŽ€
  • -d dir β€” sends the generated files to <dir>. the default is "." (aka right here, right now). πŸ“
  • -nc β€” do not overwrite files that already exist. very "hands off my stuff" of it. πŸ’…
  • -cl classlist β€” only generates code for the classes you name in the comma-separated <classlist>. E.g: Base,Derived. ✨
  • -v β€” inverts the class list selection. ⚠️ and heads up bestie: when you use it without -cl, it prevents any file from being created. not a single one. the void. πŸ’€
  • -l licensefile β€” prepends the license you specify to every source file generated. so your legal situation stays iconic. πŸ“œ
  • diagramfile β€” the Dia file that holds the diagram to be read. the source of truth, the blueprint, the moment. πŸ¦‹

πŸ‘‘ AUTHOR πŸ‘‘

Written by Javier O'Hara <joh314@users.sourceforge.net> with contributions from:

  • Ruben Lopez <ryu@gpul.org> (C code generation)
  • Chris McGee <sirnewton_01@yahoo.ca> (Dependencies, Associations, C++ Templates, SQL)
  • Takashi Okamoto <toraneko@kun.ne.jp> (License inclusion mechanism)
  • Thomas Preymesser <tp@odn.de> (Ada code generation)
  • JΓ©rΓ΄me Slangen <jeromes@mail.be> (Wildcard class list mechanism)
  • Takaaki Tateishi <> (Dynamic Shared Objects for dynamic code generator modules)
  • Martin Vidner <mvidner@users.sourceforge.net> (Porting to libxml2)

a whole squad. a whole team. we love to see it. 🌈


🌟 THANKS 🌟

Thanks to Collin Starkweather, Richard Torkar and Slush Gore for the extra help. 🫢 y'all ate.


😭 REPORTING BUGS 😭

found a bug? report it to <http://sourceforge.net/bugs/?func=addbug&group_id=15307>. do it for the plot. πŸ›


Copyright Β© 2000-2001 Javier O'Hara

This is free software, and you are welcome to redistribute it under certain conditions; read the COPYING file for details. πŸ“„


πŸ¦‹ SEE ALSO πŸ¦‹

πŸ’« ALSO SEE ALSO πŸ’«


and that's the whole page, bestie!! πŸ’– this one's from September 2, 2001, and it's page dia2code(1) β€” go forth and generate some code, you've got this. periodt. βœ¨πŸŽ€

πŸ“¦ where this page comes from