schemacrawler / SchemaCrawler

Free database schema discovery and comprehension tool
http://www.schemacrawler.com/
Other
1.6k stars 199 forks source link

How to create a HTML5 with embedded diagrams? #92

Closed Spamme1 closed 8 years ago

Spamme1 commented 8 years ago

I can't find anywhere how to output "html5 with embedded diagrams" as mentioned here, which should give this result. It is not clear which command should be used: graph, details, schema, brief? Because the graph is the only one producing a diagram, but the output is a picture, all the other commands can produce html as output but without diagrams. The lack of documentation and examples is really frustrating!

schemacrawler commented 8 years ago

Please use -outputformat=htmlx. Also, please note that documentation is available with -help on the command-line.

On Sep 14, 2016, at 10:45 AM, Spamme1 notifications@github.com wrote:

I can't find anywhere how to output "html5 with embedded diagrams" as mentioned here, which should give this result. It is not clear which command should be used: graph, details, schema, brief? Because the graph is the only one producing a diagram, but the output is a picture, all the other commands can produce html as output but without diagrams. The lack of documentation and examples is really frustrating!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

Spamme1 commented 8 years ago

Sorry but I don't see anywhere the htmlx option in the help, which command should have it?

-outputformat=<outputformat>
  Format of the SchemaCrawler output, where <outputformat> is one of:
    text
      For text output (default)
    html
      For HTML5 output
    csv
      For comma-separated values output
    tsv
      For tab-separated values output
    json
      For JavaScript Object Notation output
  Optional, defaults to text
-outputformat=<outputformat>
        Where <outputformat> is one of bmp, dot, eps, gif, jpg, png, ps2, tiff.
        If Graphviz is not installed, a dot file is produced.
schemacrawler commented 8 years ago

I am not at my computer, but please try it out. I will look into the documentation later.

On Sep 14, 2016, at 11:21 AM, Spamme1 notifications@github.com wrote:

Sorry but I don't see anywhere the htmlx option in the help, which command should have it?

-outputformat= Format of the SchemaCrawler output, where is one of: text For text output (default) html For HTML5 output csv For comma-separated values output tsv For tab-separated values output json For JavaScript Object Notation output Optional, defaults to text -outputformat= Where is one of bmp, dot, eps, gif, jpg, png, ps2, tiff. If Graphviz is not installed, a dot file is produced. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

Spamme1 commented 8 years ago

I tried with the command "details" and it works, but this "htmlx" option is not documented anywhere.

schemacrawler commented 8 years ago

Ok, thanks. I will add documentation.

On Sep 14, 2016, at 11:42 AM, Spamme1 notifications@github.com wrote:

I tried with the command "details" and it works, but this "htmlx" option is not documented anywhere.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.