File tree Expand file tree Collapse file tree 4 files changed +37
-0
lines changed
java/com/devonfw/tools/ide Expand file tree Collapse file tree 4 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 2323import com .devonfw .tools .ide .tool .quarkus .Quarkus ;
2424import com .devonfw .tools .ide .tool .terraform .Terraform ;
2525import com .devonfw .tools .ide .tool .vscode .Vscode ;
26+ import com .devonfw .tools .ide .tool .cobigen .Cobigen ;
2627
2728/**
2829 * Implementation of {@link CommandletManager}.
@@ -72,6 +73,7 @@ public CommandletManagerImpl(IdeContext context) {
7273 add (new KotlincNative (context ));
7374 add (new Vscode (context ));
7475 add (new Azure (context ));
76+ add (new Cobigen (context ));
7577 }
7678
7779 private void add (Commandlet commandlet ) {
Original file line number Diff line number Diff line change 1+ package com .devonfw .tools .ide .tool .cobigen ;
2+
3+ import java .util .Set ;
4+
5+ import com .devonfw .tools .ide .common .Tag ;
6+ import com .devonfw .tools .ide .context .IdeContext ;
7+ import com .devonfw .tools .ide .tool .LocalToolCommandlet ;
8+ import com .devonfw .tools .ide .tool .ToolCommandlet ;
9+ import com .devonfw .tools .ide .tool .mvn .Mvn ;
10+
11+ /**
12+ * {@link ToolCommandlet} for cobigen CLI (cobigen).
13+ */
14+ public class Cobigen extends LocalToolCommandlet {
15+
16+ /**
17+ * The constructor.
18+ *
19+ * @param context the {@link IdeContext}.
20+ */
21+ public Cobigen (IdeContext context ) {
22+
23+ super (context , "cobigen" , Set .of (Tag .GENERATOR ));
24+ }
25+
26+ @ Override
27+ public boolean install (boolean silent ) {
28+
29+ getCommandlet (Mvn .class ).install ();
30+ return super .install (silent );
31+ }
32+
33+ }
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ cmd-set-version=Set the version of the selected tool.
2525cmd-shell =Commandlet to start built-in shell with advanced auto-completion.
2626cmd-terraform =Tool commandlet for Terraform
2727cmd-vscode =Tool commandlet for Visual Studio Code (IDE)
28+ cmd-cobigen =Tool commandlet for Cobigen
2829val-args =The commandline arguments to pass to the tool.
2930val-tool =The tool commandlet to select.
3031val-version =The tool version
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ cmd-quarkus=Werkzeug Kommando für Quarkus (Framework für Cloud-native Anwendun
2222cmd-set-version =Setzt die Version des selektierten Werkzeugs.
2323cmd-terraform =Werkzeug Kommando für Terraform.
2424cmd-vscode =Werkzeug Kommando für Visual Studio Code (IDE)
25+ cmd-cobigen =Werkzeug Kommando für Cobigen.
2526val-args =Die Kommandozeilen-Argumente zur Übergabe an das Werkzeug.
2627val-tool =Das zu selektierende Werkzeug Kommando.
2728val-version =Die Werkzeug Version.
You can’t perform that action at this time.
0 commit comments