From 47998591d7be474b28a608200390accab70977d5 Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Wed, 31 Aug 2022 13:24:36 -0600 Subject: [PATCH] fix: update template --- templates/messages/message.md.ejs | 2 +- templates/src/command.ts.ejs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/messages/message.md.ejs b/templates/messages/message.md.ejs index 67ec4809..f6514d2e 100644 --- a/templates/messages/message.md.ejs +++ b/templates/messages/message.md.ejs @@ -6,7 +6,7 @@ Summary of a command. Description of a command. -# flags.name.description +# flags.name.summary Description of a flag. diff --git a/templates/src/command.ts.ejs b/templates/src/command.ts.ejs index ccff4ab3..fc4cda4b 100644 --- a/templates/src/command.ts.ejs +++ b/templates/src/command.ts.ejs @@ -13,7 +13,7 @@ const messages = Messages.load('<%- pluginName %>', '<%- messageFile %>', [ 'summary', 'description', 'examples', - 'flags.name.description', + 'flags.name.summary', ]); export type <%- returnType %> = { @@ -27,7 +27,7 @@ export default class <%- className %> extends SfCommand<<%- returnType %>> { public static flags = { name: Flags.string({ - description: messages.getMessage('flags.name.description'), + summary: messages.getMessage('flags.name.summary'), char: 'n', required: false, }),