@bragduck/cli 2.37.0 → 2.37.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/bragduck.js +6 -1
- package/dist/bin/bragduck.js.map +1 -1
- package/package.json +1 -1
package/dist/bin/bragduck.js
CHANGED
|
@@ -5892,6 +5892,10 @@ function formatSuccessMessage(count, brags) {
|
|
|
5892
5892
|
const dateFormatted = formatDate(brag.date);
|
|
5893
5893
|
bragsList += `
|
|
5894
5894
|
${colors.dim("\u2022")} ${colors.white(brag.title)} ${theme.secondary(`(${dateFormatted} \xB7 ${sourceLabel})`)}`;
|
|
5895
|
+
if (brag.url) {
|
|
5896
|
+
bragsList += `
|
|
5897
|
+
${colors.info(brag.url)}`;
|
|
5898
|
+
}
|
|
5895
5899
|
}
|
|
5896
5900
|
}
|
|
5897
5901
|
const hint = theme.secondary("\n\nRun ") + theme.command("bragduck list") + theme.secondary(" to see all your brags");
|
|
@@ -7016,7 +7020,8 @@ async function syncSingleService(sourceType, options, TOTAL_STEPS, sharedDays, s
|
|
|
7016
7020
|
const createdBrags = createResponse.brags.map((brag, index) => ({
|
|
7017
7021
|
title: brag.title,
|
|
7018
7022
|
date: selectedCommits[index]?.date || (/* @__PURE__ */ new Date()).toISOString(),
|
|
7019
|
-
source: sourceType
|
|
7023
|
+
source: sourceType,
|
|
7024
|
+
url: brag.url
|
|
7020
7025
|
}));
|
|
7021
7026
|
return { created: createResponse.created, skipped: duplicates.length, createdBrags };
|
|
7022
7027
|
}
|