content-grade 1.0.3 → 1.0.4

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.
@@ -1094,19 +1094,19 @@ function cmdHelp() {
1094
1094
 
1095
1095
  // ── Demo command ──────────────────────────────────────────────────────────────
1096
1096
 
1097
- const DEMO_CONTENT = `# Why Your Morning Routine Is Secretly Destroying Your Productivity
1097
+ const DEMO_CONTENT = `# How to Write Better Blog Posts
1098
1098
 
1099
- Productivity is important. Many people struggle with it. In this post we will discuss some tips.
1099
+ Writing good blog posts is important for any content marketer. Many people struggle with this. In this post I will share some tips that can help you improve.
1100
1100
 
1101
- First, wake up early. Successful people wake up early. This gives you more time. Studies show that early risers are more productive.
1101
+ First, you need to have a good headline. The headline is the first thing people see. A good headline will make people want to read more. Try to make it interesting.
1102
1102
 
1103
- Second, make a to-do list. Write everything down. Then do the tasks one by one. This is a simple but effective strategy.
1103
+ Second, write good content. Your content should be useful and informative. People should learn something from reading your post. Make sure to cover the topic well.
1104
1104
 
1105
- Third, avoid distractions. Put your phone away. Social media is bad for focus. You should minimize interruptions.
1105
+ Third, use a good structure. Break your content into sections. Use headings and bullet points. This makes it easier to read. People can scan and find what they need.
1106
1106
 
1107
- Fourth, take breaks. Working too hard is not good. Make sure to rest sometimes. The Pomodoro technique can help with this.
1107
+ Finally, have a good conclusion. Summarize what you talked about. Tell people what to do next. A call to action is important.
1108
1108
 
1109
- In conclusion, these productivity tips are very helpful. Try them today and you will see a big difference in your output. Productivity is the key to success in today's world.
1109
+ In conclusion, following these tips will help you write better blog posts. Good content is important for success online. Start applying these tips today.
1110
1110
  `;
1111
1111
 
1112
1112
  async function cmdDemo() {
@@ -1125,17 +1125,26 @@ async function cmdDemo() {
1125
1125
  const tmpFile = `/tmp/content-grade-demo-${process.pid}-${Date.now()}.md`;
1126
1126
 
1127
1127
  banner();
1128
- console.log(` ${B}Demo Mode${R} ${D}— running analysis on sample content${R}`);
1128
+ console.log(` ${B}Demo Mode${R} ${D}— see ContentGrade in action${R}`);
1129
1129
  blank();
1130
- console.log(` ${D}This is what ContentGrade does. Try it on your own content:${R}`);
1131
- console.log(` ${CY} content-grade analyze ./your-post.md${R}`);
1132
- blank();
1133
- console.log(` ${D}Analyzing sample blog post...${R}`);
1130
+ console.log(` ${D}Analyzing a sample blog post with generic writing.${R}`);
1131
+ console.log(` ${D}Generic content scores low — that's the point. Watch what ContentGrade finds.${R}`);
1134
1132
  blank();
1135
1133
 
1136
1134
  writeFileSync(tmpFile, DEMO_CONTENT, 'utf8');
1137
1135
  try {
1138
1136
  await cmdAnalyze(tmpFile);
1137
+
1138
+ // Post-demo CTA — shown AFTER user has seen the analysis output
1139
+ blank();
1140
+ hr();
1141
+ console.log(` ${B}${CY}Now try it on your own content:${R}`);
1142
+ blank();
1143
+ console.log(` ${CY}content-grade analyze ./your-post.md${R} ${D}# any .md or .txt file${R}`);
1144
+ console.log(` ${CY}content-grade https://your-blog.com/post${R} ${D}# analyze any URL${R}`);
1145
+ console.log(` ${CY}content-grade headline "Your headline here"${R} ${D}# grade a headline${R}`);
1146
+ blank();
1147
+
1139
1148
  // Show telemetry notice after user has seen value (first run only)
1140
1149
  if (_showTelemNotice) {
1141
1150
  console.log(` ${D}Anonymous usage data is collected by default. Opt out: ${CY}content-grade telemetry off${R}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "content-grade",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "AI-powered content analysis CLI. Score any blog post, landing page, or ad copy in under 30 seconds — runs on Claude CLI, no API key needed.",
5
5
  "type": "module",
6
6
  "bin": {