From 027daf950777f5f462a2d39f2273f83396d84fee Mon Sep 17 00:00:00 2001 From: Alex S Date: Wed, 25 Jul 2018 11:16:51 +0200 Subject: [PATCH 1/2] fix(cli): provide more context to user for searchable attribute --- src/cli/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/index.js b/src/cli/index.js index 7b29072d0..9916fb853 100755 --- a/src/cli/index.js +++ b/src/cli/index.js @@ -179,7 +179,7 @@ const questions = [ { type: 'list', name: 'mainAttribute', - message: 'Attribute to highlight', + message: 'Main searchable attribute – we will use it to generate a basic result template', choices: async answers => [ { name: 'None', From d158fc60749c79326ea33586b4ad234f5d67219f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Chalifour?= Date: Wed, 25 Jul 2018 13:39:41 +0200 Subject: [PATCH 2/2] fix(cli): Update interface for "Attribute to display" --- src/cli/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cli/index.js b/src/cli/index.js index 9916fb853..462826ea1 100755 --- a/src/cli/index.js +++ b/src/cli/index.js @@ -179,7 +179,8 @@ const questions = [ { type: 'list', name: 'mainAttribute', - message: 'Main searchable attribute – we will use it to generate a basic result template', + message: 'Attribute to display', + suffix: `\n ${chalk.gray('Used to generate the default result template')}`, choices: async answers => [ { name: 'None',