Claude Code の claude -p で純粋テキストだけを返す方法 This article explains how to use Claude Code's headless mode (claude -p) to obtain pure te…
AI要約 Claude Code をヘッドレスモード(claude -p)で実行する際に、余計な装飾やメタ情報を含まず純粋なテキスト出力のみを得るためのオプション指定方法を解説した記事。スクリプトやパイプラインでの活用に役立つ。
EN This article explains how to use Claude Code's headless mode (claude -p) to obtain pure text output without extra metadata or formatting, making it suitable for use in scripts and pipelines.
og