Skip to content

Commit

Permalink
Added CAPKIT CLI to the start of the CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugos68 committed Sep 24, 2023
1 parent 1d549c8 commit fcdb613
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/proud-pots-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'capkit': patch
---

Added banner to CLI
7 changes: 7 additions & 0 deletions src/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ import { fileURLToPath } from 'url';
import { Job, Platform, Plugin, ProjectOptions } from '../types/types.js';

export async function init() {
console.log(`
██████ █████ ██████ ██ ██ ██ ████████ ██████ ██ ██
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ███████ ██████ █████ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ██ ██ ██ ██ ██ ██████ ███████ ██
`);
intro(`Welcome to the ${kleur.underline('capkit')} CLI!`);
const options = await promptOptions();
await initializeProject(options);
Expand Down

0 comments on commit fcdb613

Please sign in to comment.