<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jakub Spórna</title>
    <description>The latest articles on DEV Community by Jakub Spórna (@jsporna).</description>
    <link>https://dev.to/jsporna</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F499112%2F239ca4d6-b053-43f1-afe5-5b4e8466c7bf.png</url>
      <title>DEV Community: Jakub Spórna</title>
      <link>https://dev.to/jsporna</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jsporna"/>
    <language>en</language>
    <item>
      <title>terraform-docs zsh plugin</title>
      <dc:creator>Jakub Spórna</dc:creator>
      <pubDate>Mon, 26 Oct 2020 19:04:48 +0000</pubDate>
      <link>https://dev.to/jsporna/terraform-docs-zsh-plugin-41co</link>
      <guid>https://dev.to/jsporna/terraform-docs-zsh-plugin-41co</guid>
      <description>&lt;p&gt;Working with terraform creating modules I would like to have documentation so I've used &lt;a href="https://github.com/terraform-docs/terraform-docs"&gt;terraform-docs&lt;/a&gt;.&lt;br&gt;
It is tool to generate documentation based on terraform code contains:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;input variables&lt;/li&gt;
&lt;li&gt;outputs&lt;/li&gt;
&lt;li&gt;providers&lt;/li&gt;
&lt;li&gt;requirements&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Usage is very simple:&lt;br&gt;
&lt;code&gt;terraform-docs markdown table . &amp;gt; README.md&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;so you get generated documenation in &lt;em&gt;README.md&lt;/em&gt; file in &lt;em&gt;markdown&lt;/em&gt; format with tables based on &lt;em&gt;.tf&lt;/em&gt; files in current directory.&lt;/p&gt;

&lt;p&gt;I've created &lt;a href="https://en.wikipedia.org/wiki/Z_shell"&gt;zsh&lt;/a&gt; plugin to completation commands and flags. I've decided to share my code in Github:&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://github.com/jsporna/terraform-docs-zsh-plugin"&gt;https://github.com/jsporna/terraform-docs-zsh-plugin&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;PS&lt;br&gt;
Tool itself contains &lt;em&gt;completetion&lt;/em&gt; command to setup &lt;em&gt;bash&lt;/em&gt; and &lt;em&gt;zsh&lt;/em&gt; but it was added much later than I've created my code.&lt;/p&gt;

</description>
      <category>zsh</category>
      <category>terminal</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
