diff --git a/src/content-render/scripts/cta-builder.ts b/src/content-render/scripts/cta-builder.ts index df1c706593b7..f5aae6097073 100644 --- a/src/content-render/scripts/cta-builder.ts +++ b/src/content-render/scripts/cta-builder.ts @@ -64,6 +64,19 @@ program validateUrl(options) }) +// Add programmatic build command +program + .command('build') + .description('Build a CTA URL programmatically with flags (outputs URL only)') + .requiredOption('--url ', 'Base URL for the CTA') + .requiredOption('--product ', 'Product reference (copilot, ghec, desktop)') + .requiredOption('--type ', 'CTA type (trial, purchase, engagement)') + .requiredOption('--style