From 839402ea59be78bef9512bf3be2525396dcb7a8a Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 19 Feb 2015 15:42:50 +0100 Subject: [PATCH] polish --- .../CommandLineHelpGenerator.groovy | 2 +- .../resources/templates/cli-capabilities.txt | 19 +++++++++---------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/initializr/src/main/groovy/io/spring/initializr/CommandLineHelpGenerator.groovy b/initializr/src/main/groovy/io/spring/initializr/CommandLineHelpGenerator.groovy index f2f2beda..5807c511 100644 --- a/initializr/src/main/groovy/io/spring/initializr/CommandLineHelpGenerator.groovy +++ b/initializr/src/main/groovy/io/spring/initializr/CommandLineHelpGenerator.groovy @@ -84,7 +84,7 @@ class CommandLineHelpGenerator { model['logo'] = logo model['serviceUrl'] = serviceUrl model['dependencies'] = generateDependencyTable(metadata) - model['types'] = generateTypeTable(metadata, 'Ref', false) + model['types'] = generateTypeTable(metadata, 'Rel', false) Map defaults = [:] metadata.defaults.properties.each { diff --git a/initializr/src/main/resources/templates/cli-capabilities.txt b/initializr/src/main/resources/templates/cli-capabilities.txt index 548a972e..382b4b78 100644 --- a/initializr/src/main/resources/templates/cli-capabilities.txt +++ b/initializr/src/main/resources/templates/cli-capabilities.txt @@ -1,21 +1,20 @@ ${logo} :: Spring Initializr :: ${serviceUrl} -This service generates quickstart projects and can be customized -in many ways; the dependencies, java version, build system or -build structure can be namely customized easily. +This service generates quickstart projects that can be easily customized. +Possible customizations include a project's dependencies, Java version, and +build system or build structure. See below for further details. -The services uses a HAL based hypermedia format to expose a set of -resources to interact with. If you access this root resource -requesting application/json as media type the response will contain -the following links: +The services uses a HAL based hypermedia format to expose a set of resources +to interact with. If you access this root resource requesting application/json +as media type the response will contain the following links: ${types} -The URI templates take a set of parameters to customize the result of -a request to the linked resource. +The URI templates take a set of parameters to customize the result of a request +to the linked resource. ${parameters} -The following section has a list of supported identifiers for the comma separated +The following section has a list of supported identifiers for the comma-separated list of "dependencies". ${dependencies} <% if (hasExamples) { %>