marklogic / ml-gradle

Gradle plugin for automating everything involving MarkLogic
Other
72 stars 78 forks source link

Make mlNewProject prompts clearer #636

Closed crism closed 1 year ago

crism commented 1 year ago

When running the mlNewProject task, the prompts are easy to overlook.

Starting a Gradle Daemon (subsequent builds will be faster)

> Task :mlNewProject
Welcome to the new project wizard. Please answer the following questions to star
t a new project.
Note that this will overwrite your current build.gradle and gradle.properties fi
les, and backup copies of each will be made.
[ant:input] Application name: [myApp]
<-------------> 0% EXECUTING [45s]
> :mlNewProject

It is easy to mistake [ant:input] for a status message, and the eye is drawn to the bold status bar and :mlNewProject line.

Suggestion: clarify the instructions and add some whitespace to make the prompts stand out:

> Task :mlNewProject
Welcome to the new project wizard. Please respond to the following prompts to st
art a new project.

Each prompt starts with [ant:input]; type your responses on the blank line, or p
ress enter to accept the default values in brackets.

Note that this will overwrite your current build.gradle and gradle.properties fi
les, and backup copies of each will be made.

[ant:input] Application name: [myApp]
<-------------> 0% EXECUTING [45s]
> :mlNewProject