<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>naari_3</author_name>
  <author_url>https://blog.hatena.ne.jp/naari_3/</author_url>
  <blog_title>名有りさんの日記</blog_title>
  <blog_url>https://naari.hatenablog.com/</blog_url>
  <categories>
    <anon>zsh</anon>
    <anon>golang</anon>
  </categories>
  <description>フラグのカスタム補完がうまくできなかったので書きました cobra の補完生成機能とは みんな大好き cobra には bash、zsh 向けの補完生成機能が存在する 詳しくは cobra/bash_completions.md at master · spf13/cobra · GitHub を見てほしいけど、こんな感じ ↓ で簡単に補完の機能を生成し、出力させることが出来る # https://qiita.com/minamijoyo/items/9dceb1d8a66e48ab45cd package cmd import ( &quot;os&quot; &quot;github.com/spf13/cobra&quot; …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnaari.hatenablog.com%2Fentry%2F2019%2F09%2F29%2F052809&quot; title=&quot;GoのCLI用ライブラリcobraのzsh用の補完生成機能は弱い (?) のと、それをどうするかの話 - 名有りさんの日記&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>2019-09-29 05:28:09</published>
  <title>GoのCLI用ライブラリcobraのzsh用の補完生成機能は弱い (?) のと、それをどうするかの話</title>
  <type>rich</type>
  <url>https://naari.hatenablog.com/entry/2019/09/29/052809</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
