Skip to content

Commit 9ee2683

Browse files
committedMar 18, 2025
add banner to create
1 parent 618c778 commit 9ee2683

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed
 

‎packages/cli/src/commands/create.ts

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
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';
51
import { buildProject } from '@/src/utils/build-project';
62
import { copyTemplate } from '@/src/utils/copy-template';
73
import { handleError } from '@/src/utils/handle-error';
84
import { runBunCommand } from '@/src/utils/run-bun';
95
import { logger } from '@elizaos/core';
106
import { Command } from 'commander';
117
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';
1212
import prompts from 'prompts';
1313
import colors from 'yoctocolors';
1414
import { z } from 'zod';
15+
import { displayBanner } from '../displayBanner';
1516

1617
/**
1718
* This module handles creating both projects and plugins.
@@ -189,6 +190,7 @@ export const create = new Command()
189190
.option('-y, --yes', 'skip confirmation', false)
190191
.option('-t, --type <type>', 'type of template to use (project or plugin)', '')
191192
.action(async (opts) => {
193+
displayBanner();
192194
try {
193195
// Parse options but use "" as the default for type to force prompting
194196
const initialOptions = {

0 commit comments

Comments
 (0)