We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d563047 commit cd6328bCopy full SHA for cd6328b
src/ditamap/command.ts
@@ -49,6 +49,17 @@ export class Command extends Ditamap {
49
trailblazerCommunityName = community.name;
50
}
51
52
+ if (Array.isArray(command.examples)) {
53
+ if (
54
+ help.includes('Examples:') &&
55
+ command.examples.map((foundAll, example) => foundAll && help.includes(example), true)
56
+ ) {
57
+ // Examples are already in the help, so don't duplicate.
58
+ // This is legacy support for ToolbeltCommand in salesforce-alm.
59
+ delete command.examples;
60
+ }
61
62
+
63
const state = command.state || commandMeta.state;
64
this.data = Object.assign(command, {
65
binary: 'sfdx',
0 commit comments