mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 14:58:39 +00:00
Update cheatsheets
This commit is contained in:
41
tldr/repomix
Normal file
41
tldr/repomix
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# repomix
|
||||
|
||||
> Pack a Github repository into an AI-friendly file.
|
||||
> More information: <https://github.com/yamadashy/repomix>.
|
||||
|
||||
- Output custom format:
|
||||
|
||||
`repomix {{[-o|--output]}} {{path/to/file}} --style {{xml|markdown|plain}}`
|
||||
|
||||
- Send output to `stdout`:
|
||||
|
||||
`repomix --stdout > {{path/to/file}}`
|
||||
|
||||
- Send output to `stdout`, then pipe into another program:
|
||||
|
||||
`repomix --stdout | {{less}}`
|
||||
|
||||
- Output with compression:
|
||||
|
||||
`repomix --compress`
|
||||
|
||||
- Process specific files:
|
||||
|
||||
`repomix --include "{{src/**/*.ts}}" --ignore "{{**/*.test.ts}}"`
|
||||
|
||||
- Pack a repository from a branch:
|
||||
|
||||
`repomix --remote {{https://github.com/user/repo/tree/main}}`
|
||||
|
||||
- Pack a repository at a specific commit:
|
||||
|
||||
`repomix --remote {{https://github.com/user/repo/commit/836abcd7335137228ad77feb28655d85712680f1}}`
|
||||
|
||||
- Pack repository using shorthand:
|
||||
|
||||
`repomix --remote {{user/repo}}`
|
||||
Reference in New Issue
Block a user