<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Cobra on Fernando Giorgetti - blog</title>
    <link>https://fgiorgetti.github.io/tags/cobra/</link>
    <description>Recent content in Cobra on Fernando Giorgetti - blog</description>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>Fernando Giorgetti</copyright>
    <lastBuildDate>Wed, 03 Feb 2021 17:15:08 -0300</lastBuildDate>
    <atom:link href="https://fgiorgetti.github.io/tags/cobra/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Golang Bash Completion with Cobra API</title>
      <link>https://fgiorgetti.github.io/posts/20210203-golang-bash-completion/</link>
      <pubDate>Wed, 03 Feb 2021 17:15:08 -0300</pubDate>
      <guid>https://fgiorgetti.github.io/posts/20210203-golang-bash-completion/</guid>
      <description>In this post, I am going to share an example that demonstrates how to use bash completion with a Golang application that uses Cobra, a library to help writing Command Line Interface (CLI) apps.&#xA;Source repository You can find the sources mentioned in this example at the following Git Repository.&#xA;Pre-requisites You must have the following packages (assuming you&amp;rsquo;re on Linux) and commands available:&#xA;go (1.15+) bash bash-completion base64 make The example application The code in the repository above demonstrates a very basic (and, let&amp;rsquo;s say, not so useful) application called bashcomp that handles the following commands:</description>
    </item>
  </channel>
</rss>
