<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>autopp</author_name>
  <author_url>https://blog.hatena.ne.jp/autopp/</author_url>
  <blog_title>./autopp --tech</blog_title>
  <blog_url>https://autopp-tech.hatenablog.com/</blog_url>
  <categories>
    <anon>雑記</anon>
    <anon>Github</anon>
    <anon>Go</anon>
  </categories>
  <description>Github 公式 CLI である gh コマンドに出した PR がマージされた。 内容は gh issue list/gh pr list の --state オプションの値をシェル補完できるようにするというもの。 --state オプションに open, closed といったキーワードを与えると、表示する issue/PR を選択できる。しかし opened, close のような typo が多発していたので、シェル補完をできるようにしていた。 gh は github.com/spf13/cobra を使っているので、固定値のオプションならシェル補完の追加は簡単にできる。 しかし、gh…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fautopp-tech.hatenablog.com%2Fentry%2F2021%2F06%2F28%2F003356&quot; title=&quot;gh コマンドのシェル補完を強化する PR を出した - ./autopp --tech&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-06-28 00:33:56</published>
  <title>gh コマンドのシェル補完を強化する PR を出した</title>
  <type>rich</type>
  <url>https://autopp-tech.hatenablog.com/entry/2021/06/28/003356</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
