<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Argv on DO GEESE SEE GOD</title>
    <link>https://skapande.org/tags/argv/</link>
    <description>Recent content in Argv on DO GEESE SEE GOD</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Mon, 08 Jun 2026 17:27:51 +0200</lastBuildDate>
    <atom:link href="https://skapande.org/tags/argv/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Argument_parser_number_9</title>
      <link>https://skapande.org/code/argument_parser_number_9/</link>
      <pubDate>Mon, 08 Jun 2026 17:27:51 +0200</pubDate>
      <guid>https://skapande.org/code/argument_parser_number_9/</guid>
      <description>&lt;p&gt;One thing I return to again and again, is parsing arguments. I have studied most of the available options for ruby: optimist, optimist_xl, rationalist, slop etc.&lt;/p&gt;&#xA;&lt;p&gt;I have also built several parsers of my own.. using different approaches.&lt;/p&gt;&#xA;&lt;p&gt;Today I started thinking: What is the &lt;em&gt;main&lt;/em&gt; problem when parsing arguments.&lt;/p&gt;&#xA;&lt;p&gt;Well, the main problem is to know whether an item is a key or a value.&lt;/p&gt;&#xA;&lt;p&gt;Example:&lt;br&gt;&#xA;&lt;code&gt;--name Olle --age 32 --verbose my_file.txt&lt;/code&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
