<?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 Shawn Sorichetti</title>
    <link>/tags/cli/</link>
    <description>Recent content in Cli on Shawn Sorichetti</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>me@ssoriche.com (Shawn Sorichetti)</managingEditor>
    <webMaster>me@ssoriche.com (Shawn Sorichetti)</webMaster>
    <copyright>© 2026 Shawn Sorichetti</copyright>
    <lastBuildDate>Fri, 17 Apr 2026 19:22:14 -0400</lastBuildDate><atom:link href="/tags/cli/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Logging Into Multiple AWS SSO Sessions at Once</title>
      <link>/til/aws-cli-multiple-sso-sessions/</link>
      <pubDate>Sun, 05 Apr 2026 00:00:00 +0000</pubDate>
      <author>me@ssoriche.com (Shawn Sorichetti)</author>
      <guid>/til/aws-cli-multiple-sso-sessions/</guid>
      <description>&lt;p&gt;I use &lt;a href=&#34;https://docs.commonfate.io/granted/overview&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Granted&lt;/a&gt; for per-terminal AWS credential assumptions — it&amp;rsquo;s great for switching between the multiple work accounts I juggle throughout the day. But I have SSO configured across more than one organization, and every morning I was logging into each one manually, one at a time, like a chump.&lt;/p&gt;&#xA;&lt;p&gt;Turns out &lt;code&gt;aws sso login&lt;/code&gt; has a &lt;code&gt;--sso-session&lt;/code&gt; flag that targets a named session block from &lt;code&gt;~/.aws/config&lt;/code&gt;. So logging into multiple orgs is just two commands:&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>Claude Code&#39;s /copy Command</title>
      <link>/til/claude-code-copy-command/</link>
      <pubDate>Thu, 19 Feb 2026 00:00:00 +0000</pubDate>
      <author>me@ssoriche.com (Shawn Sorichetti)</author>
      <guid>/til/claude-code-copy-command/</guid>
      <description>&lt;p&gt;A coworker dropped &lt;code&gt;/copy&lt;/code&gt; in our work Slack yesterday and I had to try it immediately. It&amp;rsquo;s a &lt;a href=&#34;https://docs.anthropic.com/en/docs/claude-code&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Claude Code&lt;/a&gt; slash command that copies Claude&amp;rsquo;s last response straight to your clipboard as markdown.&lt;/p&gt;&#xA;&lt;p&gt;Before finding this, my workflow for grabbing a generated code snippet or shell command was embarrassingly manual — select text in the terminal, hope I got the boundaries right, paste it somewhere. Now I just type:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;/copy&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;p&gt;And the whole response lands in my clipboard, formatting intact — including code blocks. This is especially useful when Claude generates something multi-part, like a function plus its tests or a sequence of shell commands, where careful selection across scroll boundaries used to be the only option.&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>
