You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hohwille opened this issue
Dec 9, 2024
· 0 comments
· Fixed by #880
Labels
bugSomething isn't workingCLIIDEasy command-line-interface (parsing args, etc.)createCreate commandlet used to create new IDEasy projects with "ide create"
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)
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
The text was updated successfully, but these errors were encountered:
hohwille
added
bug
Something isn't working
CLI
IDEasy command-line-interface (parsing args, etc.)
create
Create commandlet used to create new IDEasy projects with "ide create"
labels
Dec 9, 2024
bugSomething isn't workingCLIIDEasy command-line-interface (parsing args, etc.)createCreate commandlet used to create new IDEasy projects with "ide create"
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:
The text was updated successfully, but these errors were encountered: