Skip to content

Commit

Permalink
feat(commit.ts): update intro message in the commit function for bett…
Browse files Browse the repository at this point in the history
…er 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.
  • Loading branch information
SHSharkar committed Nov 16, 2023
1 parent 863a1d8 commit c9e333d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/commands/commit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c9e333d

Please sign in to comment.