Skip to content

Commit 29569fa

Browse files
committed
include echo-cli in echo-start
1 parent ed7d93d commit 29569fa

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

packages/sdk/echo-start/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "echo-start",
3-
"version": "0.1.8",
3+
"version": "0.1.9",
44
"description": "Create Echo applications from templates",
55
"type": "module",
66
"main": "dist/index.js",

packages/sdk/echo-start/src/index.ts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
#!/usr/bin/env node
22

33
import {
4+
cancel,
45
intro,
6+
isCancel,
7+
log,
58
outro,
69
select,
7-
text,
810
spinner,
9-
log,
10-
isCancel,
11-
cancel,
11+
text,
1212
} from '@clack/prompts';
1313
import chalk from 'chalk';
14+
import { spawn } from 'child_process';
1415
import { Command } from 'commander';
1516
import degit from 'degit';
1617
import { existsSync, readdirSync, readFileSync, writeFileSync } from 'fs';
1718
import path from 'path';
18-
import { spawn } from 'child_process';
1919

2020
const program = new Command();
2121

@@ -68,6 +68,10 @@ const DEFAULT_TEMPLATES = {
6868
description:
6969
'Vite React application with Echo and the Vercel AI SDK for image generation',
7070
},
71+
'echo-cli': {
72+
title: 'Echo CLI',
73+
description: 'Command-line tool for AI chat powered by Echo',
74+
},
7175
authjs: {
7276
title: 'Auth.js (NextAuth)',
7377
description:

0 commit comments

Comments
 (0)