plantuml / plantuml

Generate diagrams from textual description
https://plantuml.com
Other
9.73k stars 881 forks source link

Is there a way to disable Welcome message. #55

Closed shd101wyy closed 1 year ago

shd101wyy commented 7 years ago

For example, when I created an empty diagram, it will show:

screen shot 2017-05-08 at 7 00 22 pm

Is there a way to remove the Welcome message?

Thank you :)

arnaudroques commented 7 years ago

Hi, Currently, you cannot remove it. It should only be printed on empty/small diagram. Is it a big issue ? This message is intended to help people that discover PlantUML on first time.

BTW, the issue https://github.com/shd101wyy/markdown-preview-enhanced/issues/398 seems to be fixed now.

aadrian commented 7 years ago

Is it a big issue ?

It's still an issue, and the user first believes that it broke something. IMHO this message should be displayed only if it's called explicitly (e.g. by an API, or by some tool that integrates it).

This message is intended to help people that discover PlantUML on first time.

It's not helping :) .

arnaudroques commented 7 years ago

Would it be good if we add some flag -nowelcome in the command line ?

aadrian commented 7 years ago

Would it be good if we add some flag -nowelcome in the command line ?

Only if it's the other way around: a -welcome flag to display the welcome screen it only when the flag is active :) .

VladimirAlexiev commented 6 years ago

@aadrian can you explain "the user first believes that it broke something"? An empty diagram is a syntax error and the error is displayed, so what's the harm to also display the welcome/help?

veponen commented 6 years ago

@VladimirAlexiev I have pretty much the same problem. I have a Jetty server and recently built plantuml.war file dropped in it. it works fine when using interactively. I am now trying to solve this with Postman-tool.

Can you tell the url and the post parameter name to send to it to get a link for the png-file genearated?

some public server url suits just fine, I can tune it to fit to my service. And also use the public server to verify.

VladimirAlexiev commented 6 years ago

@veponen I don't understand the comment, is it for this issue? Basically, I agree with the author ArnaudRoques that this one is not a bug.

veponen commented 6 years ago

@VladimirAlexiev . Yes, I agree now. when failing it gives this welcome message. So I am missusing plantuml.war. Is there any kind of integration guide, to integrate PlantUML to other tools?

The-Lum commented 1 year ago

Hi all,

[This is an Issue Review] This is now answered.

Regards.