Commit ae37714 1 parent b6d2ecc commit ae37714 Copy full SHA for ae37714
File tree 4 files changed +37
-0
lines changed
java/com/devonfw/tools/ide
4 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 23
23
import com .devonfw .tools .ide .tool .quarkus .Quarkus ;
24
24
import com .devonfw .tools .ide .tool .terraform .Terraform ;
25
25
import com .devonfw .tools .ide .tool .vscode .Vscode ;
26
+ import com .devonfw .tools .ide .tool .cobigen .Cobigen ;
26
27
27
28
/**
28
29
* Implementation of {@link CommandletManager}.
@@ -72,6 +73,7 @@ public CommandletManagerImpl(IdeContext context) {
72
73
add (new KotlincNative (context ));
73
74
add (new Vscode (context ));
74
75
add (new Azure (context ));
76
+ add (new Cobigen (context ));
75
77
}
76
78
77
79
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.
25
25
cmd-shell =Commandlet to start built-in shell with advanced auto-completion.
26
26
cmd-terraform =Tool commandlet for Terraform
27
27
cmd-vscode =Tool commandlet for Visual Studio Code (IDE)
28
+ cmd-cobigen =Tool commandlet for Cobigen
28
29
val-args =The commandline arguments to pass to the tool.
29
30
val-tool =The tool commandlet to select.
30
31
val-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
22
22
cmd-set-version =Setzt die Version des selektierten Werkzeugs.
23
23
cmd-terraform =Werkzeug Kommando für Terraform.
24
24
cmd-vscode =Werkzeug Kommando für Visual Studio Code (IDE)
25
+ cmd-cobigen =Werkzeug Kommando für Cobigen.
25
26
val-args =Die Kommandozeilen-Argumente zur Übergabe an das Werkzeug.
26
27
val-tool =Das zu selektierende Werkzeug Kommando.
27
28
val-version =Die Werkzeug Version.
You can’t perform that action at this time.
0 commit comments