@@ -105,6 +105,47 @@ export default function DocsPage() {
105105 </ ul >
106106 </ div >
107107
108+ < div className = "my-6 rounded-lg border bg-gradient-to-r from-blue-600/10 via-purple-600/10 to-indigo-600/10 border-blue-500/20 p-6" >
109+ < h3 className = "mb-4 text-xl font-semibold flex items-center gap-2" >
110+ < Sparkles className = "h-5 w-5 text-blue-500" />
111+ AI Tools Integration
112+ </ h3 >
113+ < p className = "text-muted-foreground mb-4" >
114+ Enhance your development workflow with AI-powered assistance. Choose from Cursor Rules or GitHub Copilot
115+ Instructions to get context-aware suggestions and best practices automatically configured in your
116+ project.
117+ </ p >
118+ < div className = "grid gap-4 md:grid-cols-2" >
119+ < div className = "bg-background/50 rounded-lg p-4 border border-blue-500/20" >
120+ < h4 className = "font-semibold mb-2" > Using the AI Tool Flag</ h4 >
121+ < div className = "space-y-2 text-sm" >
122+ < div className = "flex items-center gap-2" >
123+ < code className = "bg-muted px-2 py-1 rounded text-xs" > --ai-tool cursor</ code >
124+ < span className = "text-muted-foreground" > Cursor Rules</ span >
125+ </ div >
126+ < div className = "flex items-center gap-2" >
127+ < code className = "bg-muted px-2 py-1 rounded text-xs" > --ai-tool copilot</ code >
128+ < span className = "text-muted-foreground" > GitHub Copilot</ span >
129+ </ div >
130+ < div className = "flex items-center gap-2" >
131+ < code className = "bg-muted px-2 py-1 rounded text-xs" > --ai-tool none</ code >
132+ < span className = "text-muted-foreground" > No AI tools (default)</ span >
133+ </ div >
134+ </ div >
135+ </ div >
136+ < div className = "bg-background/50 rounded-lg p-4 border border-blue-500/20" >
137+ < h4 className = "font-semibold mb-2" > Interactive Mode</ h4 >
138+ < p className = "text-sm text-muted-foreground mb-2" >
139+ Use < code className = "bg-muted px-1 rounded" > --interactive</ code > to be prompted for your AI tool
140+ preference
141+ </ p >
142+ < div className = "rounded bg-muted p-2" >
143+ < code className = "text-xs" > npx create-awesome-node-app my-app --interactive</ code >
144+ </ div >
145+ </ div >
146+ </ div >
147+ </ div >
148+
108149 < h3 className = "text-xl font-semibold" > Getting Started</ h3 >
109150 < p >
110151 Using < code > create-awesome-node-app</ code > is straightforward. You can create a new project with a single
@@ -218,6 +259,14 @@ export default function DocsPage() {
218259 </ td >
219260 < td className = "py-2 px-4" > Run in interactive mode to select options (default: false)</ td >
220261 </ tr >
262+ < tr className = "border-b" >
263+ < td className = "py-2 px-4" >
264+ < code > --ai-tool <tool></ code >
265+ </ td >
266+ < td className = "py-2 px-4" >
267+ Specify AI tool configuration: cursor, copilot, or none (default: none)
268+ </ td >
269+ </ tr >
221270 < tr className = "border-b" >
222271 < td className = "py-2 px-4" >
223272 < code > --list-templates</ code >
@@ -289,6 +338,36 @@ export default function DocsPage() {
289338 </ pre >
290339 </ div >
291340 </ div >
341+
342+ < div >
343+ < p className = "font-medium" > Create a project with Cursor Rules:</ p >
344+ < div className = "rounded-md bg-muted p-4 mt-2" >
345+ < pre className = "text-sm" >
346+ < code > npx create-awesome-node-app my-app --ai-tool cursor</ code >
347+ </ pre >
348+ </ div >
349+ </ div >
350+
351+ < div >
352+ < p className = "font-medium" > Create a project with GitHub Copilot Instructions:</ p >
353+ < div className = "rounded-md bg-muted p-4 mt-2" >
354+ < pre className = "text-sm" >
355+ < code > npx create-awesome-node-app my-app --ai-tool copilot</ code >
356+ </ pre >
357+ </ div >
358+ </ div >
359+
360+ < div >
361+ < p className = "font-medium" > Create a project without AI tools (default):</ p >
362+ < div className = "rounded-md bg-muted p-4 mt-2" >
363+ < pre className = "text-sm" >
364+ < code > npx create-awesome-node-app my-app --ai-tool none</ code >
365+ </ pre >
366+ </ div >
367+ < p className = "text-sm text-muted-foreground mt-1" >
368+ Or simply: < code > npx create-awesome-node-app my-app</ code >
369+ </ p >
370+ </ div >
292371 </ div >
293372 </ section >
294373
0 commit comments