Skip to content

cannot omit default settings URL in ide create #879

@hohwille

Description

@hohwille

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)

  1. ide create testproject -

Related/Dependent Issues

#101

Comments/Hints:

We have implemented this feature as specified:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIDEasy command-line-interface (parsing args, etc.)createCreate commandlet used to create new IDEasy projects with "ide create"

    Type

    Projects

    Status

    ✅ Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions