From c9e333d84328a569cb5b089fd56be7e50de88342 Mon Sep 17 00:00:00 2001 From: "Md. Sazzad Hossain Sharkar" Date: Thu, 16 Nov 2023 19:16:27 +0600 Subject: [PATCH] feat(commit.ts): update intro message in the commit function for better user experience The `commit.ts` file has been updated to enhance the user experience by modifying the intro message in the `commit` function. The new message now includes information about the GitWiz tool, the developer, and a link to the GitHub repository. This change aims to provide more context and a personalized touch to the intro message, creating a better user experience for the GitWiz users. --- src/commands/commit.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/commands/commit.ts b/src/commands/commit.ts index 7108b21..5bdfa23 100644 --- a/src/commands/commit.ts +++ b/src/commands/commit.ts @@ -153,7 +153,14 @@ export async function commit(extraArgs: string[] = [], isStageAllFlag: boolean = process.exit(1); } - intro('gitwz'); + intro(` +${chalk.bold.green('GitWiz — Use AI to Enhance Your Git Commits')} +${chalk.blue('Developed by:')} ${chalk.bold('Md. Sazzad Hossain Sharkar')} +${chalk.blue('GitHub:')} ${chalk.underline.blue('https://github.com/SHSharkar')} + +${chalk.yellow('Preparing to commit changes...')} + `); + if (errorChangedFiles ?? errorStagedFiles) { outro(`${chalk.red('✖')} ${errorChangedFiles ?? errorStagedFiles}`); process.exit(1);