<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cli on Opensource Odyssey</title><link>https://opensource-odyssey.net/tags/cli/</link><description>Recent content in Cli on Opensource Odyssey</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 22 Aug 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://opensource-odyssey.net/tags/cli/index.xml" rel="self" type="application/rss+xml"/><item><title>Writing an awesome CLI with typescript</title><link>https://opensource-odyssey.net/posts/writing-an-awesome-cli-with-typescript/</link><pubDate>Thu, 22 Aug 2024 00:00:00 +0000</pubDate><guid>https://opensource-odyssey.net/posts/writing-an-awesome-cli-with-typescript/</guid><description>&lt;figure class="not-prose my-10 -mx-5 sm:-mx-10 lg:-mx-16"&gt;&#10; &lt;img src="https://opensource-odyssey.net/posts/writing-an-awesome-cli-with-typescript/hero.webp"&#10; srcset="https://opensource-odyssey.net/posts/writing-an-awesome-cli-with-typescript/hero_hu_9df608821088f69.webp 480w, https://opensource-odyssey.net/posts/writing-an-awesome-cli-with-typescript/hero_hu_ba2caeeeaf69aec6.webp 640w, https://opensource-odyssey.net/posts/writing-an-awesome-cli-with-typescript/hero_hu_56636b8b0e8a904d.webp 960w, https://opensource-odyssey.net/posts/writing-an-awesome-cli-with-typescript/hero_hu_88c080039686ff13.webp 1200w"&#10; sizes="100vw"&#10; width="1200" height="624"&#10; alt="A hackers terminal on a desk" class="w-full"&#10; fetchpriority="high"&gt;&#10; &lt;/figure&gt;&#10;&lt;p&gt;If you have ever wanted to build a Command Line Interface (short: &lt;code&gt;CLI&lt;/code&gt;) in typescript, this post is for you!&lt;/p&gt;&#10;&lt;p&gt;Granted, &lt;a href="https://www.typescriptlang.org/"&gt;Typescript&lt;/a&gt; is not the most conventional language to do this. Maybe you&amp;rsquo;re better served with &lt;a href="https://go.dev/"&gt;Go&lt;/a&gt; and &lt;a href="https://github.com/spf13/cobra"&gt;Cobra-cli&lt;/a&gt;. But in case TS is your go-to language - like it is for me right now - continue reading.&lt;/p&gt;</description></item></channel></rss>