Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot omit default settings URL in ide create #879

Closed
hohwille opened this issue Dec 9, 2024 · 0 comments · Fixed by #880
Closed

cannot omit default settings URL in ide create #879

hohwille opened this issue Dec 9, 2024 · 0 comments · Fixed by #880
Labels
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"

Comments

@hohwille
Copy link
Member

hohwille commented Dec 9, 2024

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
@hohwille 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
@github-project-automation github-project-automation bot moved this to 🆕 New in IDEasy board Dec 9, 2024
hohwille added a commit to hohwille/IDEasy that referenced this issue Dec 9, 2024
@hohwille hohwille added this to the release:2024.12.001 milestone Dec 9, 2024
hohwille added a commit to hohwille/IDEasy that referenced this issue Dec 10, 2024
@hohwille hohwille moved this from 🆕 New to 🏗 In progress in IDEasy board Dec 10, 2024
hohwille added a commit that referenced this issue Dec 10, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in IDEasy board Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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"
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

1 participant