<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>IzumiSy</author_name>
  <author_url>https://blog.hatena.ne.jp/IzumiSy/</author_url>
  <blog_title>Runner in the High</blog_title>
  <blog_url>https://izumisy.work/</blog_url>
  <categories>
    <anon>メモ</anon>
  </categories>
  <description>iTerm2にはステータスバーという機能があり、そこで現在のgcloudのCLIで操作対象になっているプロジェクトIDを出すと非常に捗る。 単純に考えるとgcloudコマンドのconfigオプションを使い、プロジェクトIDの取得ができるだろうなと思うが gcloud config list project --format='value(core.project)' いかんせん、これがめちゃくちゃ遅い。Pythonで作られているっぽいが、そのせいなのかは分からない。だが、とにかく遅い。1-2秒は普通にかかる。iTerm2はステータスバーに表示するデータをディレクトリ移動のたびに取得するのでcd…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fizumisy.work%2Fentry%2F2019%2F11%2F06%2F140214&quot; title=&quot;gcloudコマンドの対象プロジェクトIDを関東最速で取得する - Runner in the High&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/I/IzumiSy/20191106/20191106135443.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-11-06 14:02:14</published>
  <title>gcloudコマンドの対象プロジェクトIDを関東最速で取得する</title>
  <type>rich</type>
  <url>https://izumisy.work/entry/2019/11/06/140214</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
