Skip to content

Commit

Permalink
Merge branch 'main' into feat/create-supabase-project
Browse files Browse the repository at this point in the history
  • Loading branch information
KarolinaKopacz authored Oct 14, 2024
2 parents 100cf23 + c8e1594 commit 0da8266
Show file tree
Hide file tree
Showing 3 changed files with 2,479 additions and 215 deletions.
9 changes: 8 additions & 1 deletion packages/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { createProject } from '@create-stapler-app/core';
import chalk from 'chalk';
import { Command } from 'commander';
import inquirer from 'inquirer';
import gradient from 'gradient-string';

const asciiArt = `
.&&&% &&&&
Expand All @@ -17,7 +18,13 @@ const asciiArt = `
`;

function displayHeader() {
console.log(chalk.hex('#3100F5').bold(asciiArt));
const metalGradient = gradient([
{ color: '#4F4F4F', pos: 0 },
{ color: '#B0B0B0', pos: 0.5 },
{ color: '#4F4F4F', pos: 1 },
]);

console.log(metalGradient(asciiArt));
console.log(chalk.bold('\n🖇️ Welcome to Stapler!\n'));
}

Expand Down
1 change: 1 addition & 0 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@create-stapler-app/core": "workspace:*",
"chalk": "^5.3.0",
"commander": "^12.1.0",
"gradient-string": "^3.0.0",
"inquirer": "^10.2.2"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 0da8266

Please sign in to comment.