|
1 |
| -import { existsSync, readFileSync } from 'node:fs'; |
2 |
| -import fs from 'node:fs/promises'; |
3 |
| -import os from 'node:os'; |
4 |
| -import path from 'node:path'; |
5 | 1 | import { buildProject } from '@/src/utils/build-project';
|
6 | 2 | import { copyTemplate } from '@/src/utils/copy-template';
|
7 | 3 | import { handleError } from '@/src/utils/handle-error';
|
8 | 4 | import { runBunCommand } from '@/src/utils/run-bun';
|
9 | 5 | import { logger } from '@elizaos/core';
|
10 | 6 | import { Command } from 'commander';
|
11 | 7 | import { execa } from 'execa';
|
| 8 | +import { existsSync, readFileSync } from 'node:fs'; |
| 9 | +import fs from 'node:fs/promises'; |
| 10 | +import os from 'node:os'; |
| 11 | +import path from 'node:path'; |
12 | 12 | import prompts from 'prompts';
|
13 | 13 | import colors from 'yoctocolors';
|
14 | 14 | import { z } from 'zod';
|
| 15 | +import { displayBanner } from '../displayBanner'; |
15 | 16 |
|
16 | 17 | /**
|
17 | 18 | * This module handles creating both projects and plugins.
|
@@ -189,6 +190,7 @@ export const create = new Command()
|
189 | 190 | .option('-y, --yes', 'skip confirmation', false)
|
190 | 191 | .option('-t, --type <type>', 'type of template to use (project or plugin)', '')
|
191 | 192 | .action(async (opts) => {
|
| 193 | + displayBanner(); |
192 | 194 | try {
|
193 | 195 | // Parse options but use "" as the default for type to force prompting
|
194 | 196 | const initialOptions = {
|
|
0 commit comments