Skip to content

Commit

Permalink
Revert "devonfw#79: Simplified multi-keyword commandlets"
Browse files Browse the repository at this point in the history
This reverts commit 1b2c6d0.
  • Loading branch information
aBega2000 committed Oct 16, 2023
1 parent 1b2c6d0 commit 6b48844
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ public class VersionGetCommandlet extends Commandlet {
public VersionGetCommandlet(IdeContext context) {

super(context);
addKeyword(getName());
addKeyword("get");
this.tool = add(new ToolProperty("", true, "tool"));
addKeyword("version");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ public class VersionListCommandlet extends Commandlet {
public VersionListCommandlet(IdeContext context) {

super(context);
addKeyword(getName());
addKeyword("list");
this.tool = add(new ToolProperty("", true, "tool"));
addKeyword("version");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class VersionSetCommandlet extends Commandlet {
public VersionSetCommandlet(IdeContext context) {

super(context);
addKeyword(getName());
addKeyword("set-version");
this.tool = add(new ToolProperty("", true, "tool"));
this.version = add(new VersionProperty("", true, "version"));
}
Expand Down

0 comments on commit 6b48844

Please sign in to comment.