Command line interface

Please use this forum to ask for a new feature or to change an existing feature.
Merci d'utiliser ce forum pour demander de nouvelles fonctionnalités ou la modification de fonctionnalités existantes.

Command line interface

Postby Enno » Thu 16 Jul 2020 13:48

Salut Bruno,

It would be very handy to be able to run stuff via the command line. Scripting updating of libraries and generating code would make it way easier to test the software.
Enno
 
Posts: 5
Joined: Thu 16 Jul 2020 08:26

Re: Command line interface

Postby Bruno Pagès » Thu 16 Jul 2020 16:08

Hallo,

Enno wrote:It would be very handy to be able to run stuff via the command line. Scripting updating of libraries

This is effectively not possible currently, I note that request

Enno wrote:It would be very handy to be able to run stuff via the command line. ... generating code

This is already possible, when you start BoUML you can automatically run a plug-out applied at the project level, and the code generators are plug-out.

Please refer to the chapter plug-out of the reference manual
ImageAuthor of Bouml
Bruno Pagès
 
Posts: 665
Joined: Mon 20 Feb 2012 09:23
Location: France

Re: Command line interface

Postby Enno » Fri 17 Jul 2020 14:55

Salut Bruno,

Bruno Pagès wrote:Hallo,
Enno wrote:It would be very handy to be able to run stuff via the command line. ... generating code

This is already possible, when you start BoUML you can automatically run a plug-out applied at the project level, and the code generators are plug-out.

Please refer to the chapter plug-out of the reference manual


Is it possible to run the cpp_generator plugout for only one package, like '-exec cpp_generator top/some_package -exit'?
Enno
 
Posts: 5
Joined: Thu 16 Jul 2020 08:26

Re: Command line interface

Postby Bruno Pagès » Fri 17 Jul 2020 15:11

Enno wrote:Is it possible to run the cpp_generator plugout for only one package, like '-exec cpp_generator top/some_package -exit'?

not directly, the plut-out launch when starting BoUML is always applied on the project (top-level package) whatever the plug-out is, but that plug-out can be defined by you allowing you to do whatever you want, including to apply plug-out(s). So you can define your own plug-out to apply the code generator you want on the package/class view/class/deployment view/artifact you want depending on the arguments.

Anyway note the code generation does not rewrite the files already having the right content.
ImageAuthor of Bouml
Bruno Pagès
 
Posts: 665
Joined: Mon 20 Feb 2012 09:23
Location: France

Re: Command line interface

Postby Bruno Pagès » Fri 18 Sep 2020 19:44

Enno wrote:It would be very handy to be able to run stuff via the command line. Scripting updating of libraries


The release 7.10 is available and add that new feature, see historic
ImageAuthor of Bouml
Bruno Pagès
 
Posts: 665
Joined: Mon 20 Feb 2012 09:23
Location: France


Return to Change requests / Demandes d'évolution

Who is online

Users browsing this forum: No registered users and 1 guest

cron