Skip to content

Commit

Permalink
Merge pull request #320 from nielsmaerten/update-exit-message
Browse files Browse the repository at this point in the history
Update exit message to include GitHub star request
  • Loading branch information
nielsmaerten authored Nov 26, 2024
2 parents 3ff6197 + b136c28 commit 27b219f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ To make ynab-buddy work seamlessly with your bank, open the config file and foll
- Tech docs (for developers): [CONTRIBUTING.md](./CONTRIBUTING.md)
- Please **DO NOT** contact YNAB Support. This is a community project, not an official YNAB service.

## 😊 Coffee?
## ☕ budget nerd + coffee = ynab-buddy

Did ynab-buddy save you some time? If so, consider showing your support by buying me a coffee! Your kind gesture helps me continue improving and maintaining this tool for the YNAB community.

[☕ Buy me a coffee](https://ko-fi.com/nielsmaerten)
[☕ Buy me a coffee](https://ko-fi.com/nielsmaerten)
[⭐ Leave a star on GitHub](https://github.com/nielsmaerten/ynab-buddy)

Thank you for your support! 🙌

Expand Down
2 changes: 2 additions & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ export const messages = {
sponsor:
"Did this tool just save you some time? Then maybe consider buying me a coffee:",
sponsorLink: "https://go.niels.me/coffee",
githubStar: "Or, leave a star on GitHub:",
githubLink: "https://github.com/nielsmaerten/ynab-buddy",
exit: "Press any key to exit",
newVersion: {
notice: "A newer version of ynab-buddy is available.",
Expand Down
3 changes: 3 additions & 0 deletions src/lib/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ export function displayGoodbyeMessage() {
console.log(messages.sponsor);
console.log(chalk.bgBlueBright(messages.sponsorLink));
console.log("");
console.log(messages.githubStar);
console.log(chalk.bgBlueBright(messages.githubLink));
console.log("");
}

export async function exitApp() {
Expand Down

0 comments on commit 27b219f

Please sign in to comment.