基本的な使い方
クイックスタート
リポジトリ全体をパッケージ化:
bash
repomix一般的な使用例
特定のディレクトリをパッケージ化
bash
repomix path/to/directory特定のファイルを含める
glob パターンを使用:
bash
repomix --include "src/**/*.ts,**/*.md"ファイルを除外
bash
repomix --ignore "**/*.log,tmp/"リモートリポジトリ
bash
# GitHub URLを使用
repomix --remote https://github.com/user/repo
# ショートハンドを使用
repomix --remote user/repo
# 特定のブランチ/タグ/コミット
repomix --remote user/repo --remote-branch main
repomix --remote user/repo --remote-branch 935b695コード圧縮
bash
repomix --compress
# リモートリポジトリでも使用可能:
repomix --remote user/repo --compress出力形式
XML(デフォルト)
bash
repomix --style xmlMarkdown
bash
repomix --style markdownプレーンテキスト
bash
repomix --style plainその他のオプション
コメントを削除
bash
repomix --remove-comments行番号を表示
bash
repomix --output-show-line-numbersクリップボードにコピー
bash
repomix --copyセキュリティチェックを無効化
bash
repomix --no-security-check設定
設定ファイルを初期化:
bash
repomix --init詳細なオプションについては設定ガイドを参照してください。