<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Introduction on Go Subcommand</title><link>https://arran4.github.io/go-subcommand/docs/introduction/</link><description>Recent content in Introduction on Go Subcommand</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://arran4.github.io/go-subcommand/docs/introduction/index.xml" rel="self" type="application/rss+xml"/><item><title>Installation</title><link>https://arran4.github.io/go-subcommand/docs/introduction/installation/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://arran4.github.io/go-subcommand/docs/introduction/installation/</guid><description>&lt;h1 id="installation"&gt;Installation&lt;a class="anchor" href="#installation"&gt;#&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;To use &lt;strong&gt;Go Subcommand&lt;/strong&gt;, you need to install the &lt;code&gt;gosubc&lt;/code&gt; CLI tool.&lt;/p&gt;&#10;&lt;h2 id="prerequisites"&gt;Prerequisites&lt;a class="anchor" href="#prerequisites"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Go&lt;/strong&gt;: Version 1.18 or later.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="installing-gosubc"&gt;Installing &lt;code&gt;gosubc&lt;/code&gt;&lt;a class="anchor" href="#installing-gosubc"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;Run the following command to install the latest version:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;go install github.com/arran4/go-subcommand/cmd/gosubc@latest&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Verify the installation:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;gosubc --help&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="adding-to-your-project"&gt;Adding to Your Project&lt;a class="anchor" href="#adding-to-your-project"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;You don&amp;rsquo;t need to import &lt;code&gt;go-subcommand&lt;/code&gt; in your application logic files unless you are using specific helper types. The generated code will reside in a separate package (usually &lt;code&gt;cmd/appname&lt;/code&gt;).&lt;/p&gt;</description></item></channel></rss>