Skip to content

Add --plain flag to search and ls commands - #9

Merged
yetanotherchris merged 1 commit into
mainfrom
feature/plain-output
Mar 13, 2026
Merged

yetanotherchris merged 1 commit into
mainfrom
feature/plain-output

Conversation

@yetanotherchris

Copy link
Copy Markdown
Owner

Summary

  • Adds --plain flag to search and ls commands
  • When set, outputs results to stdout as plain text using the export format (- [name](url) (domain)), without ANSI colour codes or OSC 8 terminal hyperlinks
  • Updates the tinycity skill (SKILL.md) to always use --plain when running commands, so skill invocations get clean parseable output

Test plan

  • tinycity search "query" --plain returns plain text with no ANSI codes
  • tinycity ls --plain returns plain text with no ANSI codes
  • Normal search and ls (without --plain) still render with colour/hyperlinks as before

🤖 Generated with Claude Code

Outputs results to stdout as plain text using the export format,
without ANSI colour codes or OSC 8 terminal hyperlinks. Useful
for programmatic use and skill/tool integrations.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@yetanotherchris
yetanotherchris merged commit 5838b2a into main Mar 13, 2026
1 check 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