Skip to content

feat(cli): add contextual Studio tips to CLI output#10

Merged
ABB65 merged 1 commit intomainfrom
feat/studio-tips
Apr 14, 2026
Merged

feat(cli): add contextual Studio tips to CLI output#10
ABB65 merged 1 commit intomainfrom
feat/studio-tips

Conversation

@ABB65
Copy link
Copy Markdown
Member

@ABB65 ABB65 commented Apr 14, 2026

Summary

  • Add branded Contentrain Studio tips to 4 CLI commands: init, generate, diff, status
  • Each tip includes: colored command (pc.cyan), bold product name (pc.bold), underlined link (pc.underline), dim overall tone (pc.dim)
  • MCP tool responses are not affected — tips are CLI stdout only

Example output

  Tip: contentrain studio connect — link this project to Contentrain Studio for
       team review, CDN delivery, and collaboration → https://studio.contentrain.io

Test plan

  • npx tsc --noEmit — 0 errors
  • npx oxlint — 0 warnings, 0 errors
  • npx vitest run tests/commands/ — 23/23 pass
  • Changeset: contentrain patch

🤖 Generated with Claude Code

Add branded hints at the end of CLI commands pointing users to
relevant Contentrain Studio features:

- init → `contentrain studio connect` for team collaboration
- generate → `contentrain studio cdn-init` for CDN delivery
- diff → `contentrain studio branches` for visual review
- status → `contentrain studio status` for team activity

Each tip uses:
- pc.cyan for the command name
- pc.bold for "Contentrain Studio" product name
- pc.underline for the https://studio.contentrain.io link
- pc.dim for non-intrusive overall tone

MCP tool responses are not affected.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 14, 2026

Deploy Preview for contentrain-ai ready!

Name Link
🔨 Latest commit 228610f
🔍 Latest deploy log https://app.netlify.com/projects/contentrain-ai/deploys/69de1c7582800e0009011af2
😎 Deploy Preview https://deploy-preview-10--contentrain-ai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ABB65 ABB65 merged commit 07aba48 into main Apr 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant