<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pudding_info</author_name>
  <author_url>https://blog.hatena.ne.jp/pudding_info/</author_url>
  <blog_title>ぽよメモ</blog_title>
  <blog_url>https://poyo.hatenablog.jp/</blog_url>
  <categories>
    <anon>Rust</anon>
    <anon>ぷよぐやみんぐ</anon>
  </categories>
  <description>はじめに インストール 使い方 位置引数 エスケープされた位置引数 引数を取るオプション 引数を取らないオプション 環境変数と紐付ける 一つのフラグで複数の値を取る 排他オプション 候補から選択するオプション サブコマンド グローバルなオプション テスト おわりに はじめに clapとはRustのCLI引数をパースするためのクレートです。Pythonで言うところのargparse、Goで言うところのcobra/spf13のような立ち位置のクレートで、CLIツールの実装をする場合お世話になることが多いでしょう。 docs.rs 自分が実装時にclapでこれはどういうやり方をするのか、などを調べて…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpoyo.hatenablog.jp%2Fentry%2F2022%2F10%2F10%2F170000&quot; title=&quot;clapの使い方まとめ - ぽよメモ&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.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-10-10 17:00:00</published>
  <title>clapの使い方まとめ</title>
  <type>rich</type>
  <url>https://poyo.hatenablog.jp/entry/2022/10/10/170000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
