content-grade 1.0.20 → 1.0.21
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/bin/content-grade.js +21 -7
- package/package.json +1 -1
package/bin/content-grade.js
CHANGED
|
@@ -131,8 +131,12 @@ function showFreeTierCTA(count) {
|
|
|
131
131
|
// Last free run used — maximum urgency
|
|
132
132
|
console.log(` ${RD}${B}Daily limit reached${R} ${D}(${count}/${limit} free runs used today)${R}`);
|
|
133
133
|
blank();
|
|
134
|
-
console.log(`
|
|
135
|
-
|
|
134
|
+
console.log(` ${B}Upgrade to Pro — $9/mo${R} to keep going:`);
|
|
135
|
+
blank();
|
|
136
|
+
console.log(` ${GN}✓${R} ${B}Unlimited analyses${R} no daily cap`);
|
|
137
|
+
console.log(` ${GN}✓${R} ${B}Batch mode${R} grade an entire directory at once`);
|
|
138
|
+
console.log(` ${GN}✓${R} ${B}URL analysis${R} audit any live page`);
|
|
139
|
+
console.log(` ${GN}✓${R} ${B}Priority support${R} direct email response within 24h`);
|
|
136
140
|
blank();
|
|
137
141
|
console.log(` ${MG}${B}→ Upgrade to Pro — $9/mo${R}`);
|
|
138
142
|
console.log(` ${CY} ${UPGRADE_LINKS.free}${R}`);
|
|
@@ -142,8 +146,11 @@ function showFreeTierCTA(count) {
|
|
|
142
146
|
// 1 run left — build urgency
|
|
143
147
|
console.log(` ${YL}${B}${count}/${limit} free runs used${R} ${D}· 1 remaining${R}`);
|
|
144
148
|
blank();
|
|
145
|
-
console.log(` Last free run of the day. Pro is ${B}$9/mo${R}
|
|
146
|
-
|
|
149
|
+
console.log(` Last free run of the day. Pro is ${B}$9/mo${R}:`);
|
|
150
|
+
blank();
|
|
151
|
+
console.log(` ${GN}✓${R} ${B}Unlimited analyses${R} + batch mode + priority support`);
|
|
152
|
+
console.log(` ${MG}${B}→ Upgrade to Pro — $9/mo${R}`);
|
|
153
|
+
console.log(` ${CY} ${UPGRADE_LINKS.free}${R}`);
|
|
147
154
|
blank();
|
|
148
155
|
console.log(` ${D}Or use your last run: ${CY}content-grade analyze ./another-post.md${R}`);
|
|
149
156
|
} else {
|
|
@@ -180,6 +187,7 @@ function checkFreeTierLimit() {
|
|
|
180
187
|
console.log(` ${GN}✓${R} ${B}Unlimited analyses${R} no daily cap`);
|
|
181
188
|
console.log(` ${GN}✓${R} ${B}Batch mode${R} grade an entire directory at once`);
|
|
182
189
|
console.log(` ${GN}✓${R} ${B}URL analysis${R} audit any live page`);
|
|
190
|
+
console.log(` ${GN}✓${R} ${B}Priority support${R} direct email response within 24h`);
|
|
183
191
|
blank();
|
|
184
192
|
console.log(` ${MG}${B}→ Upgrade to Pro — $9/mo${R}`);
|
|
185
193
|
console.log(` ${CY} ${UPGRADE_LINKS.free}${R}`);
|
|
@@ -1022,10 +1030,16 @@ async function cmdBatch(dirPath) {
|
|
|
1022
1030
|
console.log(` ${D}Free tier: analyze files one at a time.${R}`);
|
|
1023
1031
|
console.log(` ${CY}content-grade analyze ./post.md${R}`);
|
|
1024
1032
|
blank();
|
|
1025
|
-
console.log(` ${B}
|
|
1026
|
-
|
|
1033
|
+
console.log(` ${B}Upgrade to Pro — $9/mo${R} to unlock batch mode:`);
|
|
1034
|
+
blank();
|
|
1035
|
+
console.log(` ${GN}✓${R} ${B}Unlimited analyses${R} no daily cap`);
|
|
1036
|
+
console.log(` ${GN}✓${R} ${B}Batch mode${R} grade an entire directory at once`);
|
|
1037
|
+
console.log(` ${GN}✓${R} ${B}Priority support${R} direct email response within 24h`);
|
|
1027
1038
|
blank();
|
|
1028
|
-
console.log(` ${
|
|
1039
|
+
console.log(` ${MG}${B}→ Upgrade to Pro — $9/mo${R}`);
|
|
1040
|
+
console.log(` ${CY} ${UPGRADE_LINKS.free}${R}`);
|
|
1041
|
+
blank();
|
|
1042
|
+
console.log(` ${D}Already have a key? ${CY}content-grade activate${R}`);
|
|
1029
1043
|
blank();
|
|
1030
1044
|
process.exit(1);
|
|
1031
1045
|
}
|
package/package.json
CHANGED