Skip to content

Commit

Permalink
fix: update template
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Aug 31, 2022
1 parent 5f05bc5 commit 4799859
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/messages/message.md.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Summary of a command.

Description of a command.

# flags.name.description
# flags.name.summary

Description of a flag.

Expand Down
4 changes: 2 additions & 2 deletions templates/src/command.ts.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const messages = Messages.load('<%- pluginName %>', '<%- messageFile %>', [
'summary',
'description',
'examples',
'flags.name.description',
'flags.name.summary',
]);

export type <%- returnType %> = {
Expand All @@ -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,
}),
Expand Down

0 comments on commit 4799859

Please sign in to comment.