Vercel CLI でフラグセグメントを管理可能に
本文の状態
日本語全文を表示中
詳細モードで約1分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
Vercel Blog
Vercel は新コマンド「vercel flags segments」を追加し、開発者が Vercel CLI からフラグのターゲティング用セグメントを直接管理・スクリプト化できるようになった。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
Vercel Flags のセグメントは、新しい vercel flags segments コマンドにより Vercel CLI から管理できるようになりました。
セグメントとは、フラグが誰に何を表示するかを決定するために使用するターゲティングの基礎単位です。メンバーシップは、include:、exclude:、rule: という 3 つの反復可能なトークンから構成されます。増分編集には --add または --remove を使用してこれらのトークンを渡します。完全な置換を行う場合は、--data オプションにセグメント定義全体を生の JSON 形式で指定してください。
すべてのセグメント関連コマンドは --json 出力をサポートしており、ターミナルからフラグのターゲティングを検査または更新する必要がある CI、ローカルワークフロー、エージェント駆動型パイプラインからのスクリプト化が可能になります。
Vercel CLI の最新バージョンにアップデートし、Vercel Flags CLI ドキュメントで詳細を確認して始めましょう。
さらに読む
原文を表示
Vercel Flags segments can now be managed from the Vercel CLI with the new vercel flags segments command.
A segment is the targeting primitive a flag uses to decide who sees what. Membership composes from three repeatable tokens: include:, exclude:, and rule:. Pass them to --add or --remove for incremental edits. For full replacement, --data takes the entire segment definition as raw JSON.
All segment commands support --json output, making them scriptable from CI, local workflows, and agent-driven pipelines that need to inspect or update flag targeting from the terminal.
Update to the latest version of the Vercel CLI and learn more in the Vercel Flags CLI documentation to get started.
Read more
関連記事
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み