diff --git a/src/command.ts b/src/command.ts index 4e1a2eb1..6ac5e8da 100644 --- a/src/command.ts +++ b/src/command.ts @@ -86,7 +86,7 @@ export namespace Command { pluginType: plugin.type, hidden: c.hidden, aliases: c.aliases || [], - examples: c.examples, + examples: c.examples || (c as any).example, flags: mapValues(c.flags || {}, (flag, name) => { if (flag.type === 'boolean') { return {