Skip to content

Commit

Permalink
Update Ditto API URL and breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
jaerod95 committed Mar 11, 2024
1 parent 68888a6 commit 800a562
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lib/init/token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,11 @@ async function checkToken(token: string): Promise<any> {

async function collectToken(message: string | null) {
const blue = output.info;
const apiUrl = output.url("https://app.dittowords.com/account/user");
const breadcrumbs = `${blue("User")}`;
const apiUrl = output.url("https://app.dittowords.com/account/devtools");
const breadcrumbs = `${chalk.bold(blue("API Keys"))}`;
const tokenDescription =
message ||
`To get started, you'll need your Ditto API key. You can find this at: ${apiUrl} > ${breadcrumbs} under "${chalk.bold(
"API Keys"
)}".`;
`To get started, you'll need your Ditto API key. You can find this at: ${apiUrl} under "${breadcrumbs}".`;
console.log(tokenDescription);

const response = await prompt<{ token: string }>({
Expand Down

0 comments on commit 800a562

Please sign in to comment.