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

make it easier to enter dependencies in a one-liner #483

Closed
christian-posta opened this issue Aug 29, 2016 · 2 comments
Closed

make it easier to enter dependencies in a one-liner #483

christian-posta opened this issue Aug 29, 2016 · 2 comments

Comments

@christian-posta
Copy link
Member

we have to type out the full dependency title when we try to: project-new --type spring-boot --dependencies "Core: Web"

would be nicer if we could just do "core-web", "core-whatever", or "ops-foo" etc.

per @gastaldi we can use:

@gastaldi UIInput.setItemLabelConverter(Commands::shellifyOptionNameDashed)
@gastaldi just that, if context.getProvider().isGUI() returns false

@davsclaus
Copy link
Member

Thanks this is better. I think I will remove the group name as that just repeat must stuff eg, web-web etc.

Also found a little Forge bug: https://issues.jboss.org/browse/FORGE-2690

@davsclaus
Copy link
Member

You can now use shorter names

[deleteme]$ spring-boot-new-project --dependencies web actuator apache-camel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants