Expected behavior
As a devonfw-ide user, I want to also be able to create a project with default settings by just passing - as settings URL parameter so that I can save typing and reuse my habits without learning new CLI syntax for IDEasy.
In devonfw-ide I did:
$ devon ide create testproject -
So I expect the same to work with IDEasy:
$ ide create testproject -
Actual behavior
$ ide create testproject -
No matching property found
Invalid arguments: "create" "testproject" "-"
Steps to reproduce (bug) / Use Case of feature request (enhancement)
ide create testproject -
Related/Dependent Issues
#101
Comments/Hints:
We have implemented this feature as specified:
|
} else if ("-".equals(repository)) { |
However, we never tested it and it is not working.
The reason is that - is considered as an option that cannot be passed to a value.
As a workaround the user would need to call ide create testproject -- - what somehow makes sense but is not very intuitive.
Affected version:
- 2024.12.001-beta-12_06_02-SNAPSHOT
Expected behavior
As a devonfw-ide user, I want to also be able to create a project with default settings by just passing
-as settings URL parameter so that I can save typing and reuse my habits without learning new CLI syntax for IDEasy.In devonfw-ide I did:
So I expect the same to work with IDEasy:
Actual behavior
Steps to reproduce (bug) / Use Case of feature request (enhancement)
ide create testproject -Related/Dependent Issues
#101
Comments/Hints:
We have implemented this feature as specified:
IDEasy/cli/src/main/java/com/devonfw/tools/ide/commandlet/AbstractUpdateCommandlet.java
Line 130 in b8c6705
However, we never tested it and it is not working.
The reason is that
-is considered as an option that cannot be passed to a value.As a workaround the user would need to call
ide create testproject -- -what somehow makes sense but is not very intuitive.Affected version: