-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
cliCLI commands, CLI tools, or command-line interface functionalityCLI commands, CLI tools, or command-line interface functionalityenhancementNew feature or requestNew feature or request
Description
Add the ability to copy Colin's run output directly to the clipboard, formatted as XML to clearly delineate each output document.
Use case
When using Colin to generate context for AI assistants (e.g., pasting into Claude), it would be convenient to run a model and immediately paste the output without needing to pipe through additional tools.
Proposed interface
colin run --copyThis would:
- Render all outputs as usual
- Format them as XML with clear document boundaries
- Copy the result to the system clipboard
Example output format
<documents>
<document path="context/overview.md">
... rendered content ...
</document>
<document path="context/api.md">
... rendered content ...
</document>
</documents>Alternatives considered
- Piping to
pbcopy/xclipmanually works but adds friction - A dedicated copy target in
colin.tomlcould also work, though the CLI flag is more ergonomic for ad-hoc use
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cliCLI commands, CLI tools, or command-line interface functionalityCLI commands, CLI tools, or command-line interface functionalityenhancementNew feature or requestNew feature or request