<?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: Rhys</title>
    <description>The latest articles on DEV Community by Rhys (@rhysevans).</description>
    <link>https://dev.to/rhysevans</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1425004%2F93de9035-3e11-447b-8704-33b3cb789b95.png</url>
      <title>DEV Community: Rhys</title>
      <link>https://dev.to/rhysevans</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rhysevans"/>
    <language>en</language>
    <item>
      <title>I built a little CLI tool to manage the different hats I wear as an engineer. I think it works.</title>
      <dc:creator>Rhys</dc:creator>
      <pubDate>Mon, 26 Oct 2026 15:34:29 +0000</pubDate>
      <link>https://dev.to/rhysevans/i-built-a-little-cli-tool-to-manage-the-different-hats-i-wear-as-an-engineer-i-think-it-works-163</link>
      <guid>https://dev.to/rhysevans/i-built-a-little-cli-tool-to-manage-the-different-hats-i-wear-as-an-engineer-i-think-it-works-163</guid>
      <description>&lt;p&gt;The idea started as those annoyances switching between projects, github and AWS accounts I kept working around.&lt;/p&gt;

&lt;p&gt;I often switch between different identities for projects and customer environments, and eventually got tired of managing the context around all of that manually. After years of trying to work around it with zsh, oh-my-zsh and a bunch of helper functions, I decided to build something instead.&lt;/p&gt;

&lt;p&gt;I called hats. It's an open-source CLI tool, and it's usable today. Although I admit, there's still plenty of room to improve it.&lt;/p&gt;

&lt;p&gt;It's nothing revolutionary, but I thought it might be useful to other engineers juggling multiple projects and environments.&lt;/p&gt;

&lt;p&gt;A quick &lt;code&gt;hat &amp;lt;profilename&amp;gt;&lt;/code&gt; completely changes identities in that single terminal.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;hat normal
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In this example, I'm switching between a personal and work 'hats'.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8k5jcjs63cio1ke0ru8n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8k5jcjs63cio1ke0ru8n.png" alt=" " width="799" height="169"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'd be interested to hear how other people handle this kind of thing, or whether there's something obvious I've missed.&lt;/p&gt;

&lt;p&gt;The code is here: &lt;a href="https://github.com/planesailingio/hats" rel="noopener noreferrer"&gt;https://github.com/planesailingio/hats&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I also wrote a bit more about the original problem and why I decided to build it on Medium, if you're interested: &lt;br&gt;
&lt;a href="https://medium.com/@rhysjtevans/i-wear-a-lot-of-hats-my-terminal-only-had-one-5fee560a83f6" rel="noopener noreferrer"&gt;https://medium.com/@rhysjtevans/i-wear-a-lot-of-hats-my-terminal-only-had-one-5fee560a83f6&lt;/a&gt;&lt;/p&gt;

</description>
      <category>cli</category>
      <category>productivity</category>
      <category>opensource</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
