Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Replace source link with docs link
  • Loading branch information
scinorandex committed Apr 1, 2021
commit 3affb03ad6f965d28cbda5e31f3ba63e5c130dbc
4 changes: 2 additions & 2 deletions src/utils/generatePlainOutput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ export const generatePlainOutput: (
if (!quiet)
responseArray = responseArray.concat([
lines.helpMessage,
lines.source,
lines.repoLink,
lines.docsLink,
lines.WNrepoLink,
`\n${saying}\n`,
]);

Expand Down
8 changes: 2 additions & 6 deletions src/utils/getResponses.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
const { version } = require("../../package.json");

/**
* This file is a centralized location to get responses to the user
* Such as the BMC link, the twitter link, github repo page etc.
*/
// This file is a centralized location to get responses to the user
// Such as the BMC link, the twitter link, github repo page etc.

export const welcomeMessage = `Welcome to COVID-19 Tracker & CLI v${version} by Waren Gonzaga with Wareneutron Developers`;
export const lines = {
notFound: `\n${welcomeMessage}\n\nPlease visit: https://warengonza.ga/covid19-tracker-cli\n\n`,
defaultHeader: `COVID-19 Tracker & CLI v${version}`,
helpMessage: `Help: Try to append the URL with /help to learn more...`,
source: `Source: https://www.worldometers.info/coronavirus`,
repoLink: `Code: https://github.com/warengonzaga/covid19-tracker-cli`,
sponsorMessage: `Love this project? Help us to help others by means of coffee!\n`,
GCashMessage: `(GCash) +639176462753`,
BMCLink: `(Buy Me A Coffee) warengonza.ga/coffee4dev`,
Expand Down