question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Display user selections as Spring CLI init parameters - for easy copy&paste.

See original GitHub issue

Hi,

When the user selects various options for the Generate Project button, please:

  1. display these selected options as Spring CLI init parameters
  2. maybe inside a pre tag (under the Generate Project button)
  3. so that the user can easily just copy and paste that CLI string into the terminal
  4. obtaining the same result as clicking the generate button and unzipping the generated zip.

This would:

  • greatly enhance the usability of this project
  • help with testing, bug-fixing and reproducing bugs (or package/options problems), since that CLI String could be always attached to tickets for reproducibility.

Thanks in advance.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
wilkinsonacommented, Jul 9, 2019

I think we could do with a new issue for this as there are a few subtly different things that have been requested:

  1. Display a spring init command in the Web UI based on the selections that have been made (this issue).
  2. Display a curl command in the Web UI based on the selections that have been made (#66).
  3. Provide support for linking to https://start.spring.io with preselected dependencies, Boot version, etc.

FWIW, I am currently in favor of 3 but I’m only one member of the team.

1reaction
snicollcommented, Jul 16, 2018

Indeed. It should be noted that we don’t want to provide explicit support for creating projects with a set of dependencies and/or a specific Spring Boot version. The purpose of the service is to “start” (move forward) not reproduce things from the past.

Dependencies come and go (and so are the available Spring Boot versions). Of course, we can support such link for quite some time but this is limited (for instance, pre-1.2 code is gone already and we’re going to clean 1.3 or 1.4 specific code at some point).

Thanks for sharing the idea but adding such option in the UI is not consistent with this goal.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring Boot CLI
The Spring Boot CLI is a command line tool that you can use to bootstrap a new project from start.spring.io or encode a...
Read more >
Spring Boot CLI Setup and HelloWorld Example - DigitalOcean
Here is a Groovy Script filename of a Spring Boot Application. We will use this command to execute our Spring Boot HelloWorld Example....
Read more >
Spring-official-reference/guide.md at master - GitHub
Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can “just run”. We take an opinionated view of...
Read more >
When initializing a project with the Spring Boot CLI, how do ...
The spring init --list command actually displays three tables of options: Dependencies - e.g. web, security, data-jpa, etc. Project Types - e.g. ...
Read more >
Get Started with Spring Boot, OAuth 2.0, and Okta
In this tutorial you'll learn how to integrate Spring Security into a Spring Boot application, plus add authentication with OAuth using the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found