<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Command-Line Interface on Melomac</title>
    <link>https://melomac.com/tags/command-line-interface/</link>
    <description>Recent content in Command-Line Interface on Melomac</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <copyright>Melomac &amp;copy; 2026</copyright>
    <lastBuildDate>Sat, 21 Mar 2026 18:04:48 +0100</lastBuildDate>
    <atom:link href="https://melomac.com/tags/command-line-interface/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Introducing fashion command-line tool</title>
      <link>https://melomac.com/posts/introducing-fashion-command-line-tool/</link>
      <pubDate>Sat, 21 Mar 2026 00:00:00 +0000</pubDate>
      <guid>https://melomac.com/posts/introducing-fashion-command-line-tool/</guid>
      <description>&lt;p&gt;&lt;code&gt;fashion&lt;/code&gt; is a Swift command-line interface to traverse a file hierarchy and compute or match popular hash digests. The project is hosted on &lt;a href=&#34;https://github.com/melomac/fashion&#34; title=&#34;GitHub: melomac/fashion&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;GitHub&lt;/a&gt; and natively supports:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://developer.apple.com/documentation/cryptokit/&#34; title=&#34;Perform cryptographic operations securely and efficiently.&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;CryptoKit&lt;/a&gt; hash functions: &lt;a href=&#34;https://en.wikipedia.org/wiki/SHA-2&#34; title=&#34;Wikipedia: SHA-2&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;SHA-2&lt;/a&gt; (SHA256 by default), insecure &lt;a href=&#34;https://en.wikipedia.org/wiki/SHA-1&#34; title=&#34;Wikipedia: SHA-1&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;SHA-1&lt;/a&gt; and &lt;a href=&#34;https://en.wikipedia.org/wiki/MD5&#34; title=&#34;Wikipedia: MD5&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;MD5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;fuzzy hash functions: &lt;a href=&#34;https://github.com/ssdeep-project/ssdeep&#34; title=&#34;GitHub: ssdeep-project/ssdeep&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;ssdeep&lt;/a&gt; and &lt;a href=&#34;https://github.com/trendmicro/tlsh&#34; title=&#34;GitHub: trendmicro/tlsh&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;TLSH&lt;/a&gt; as submodules with Swift C bridging&lt;/li&gt;&#xA;&lt;li&gt;searching for multiple digests with any algo and a similarity / distance score for fuzzy hash&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://git-scm.com/docs/git-hash-object&#34; title=&#34;Git: hash-object&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;git-hash-object&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://www.anomali.com/blog/symhash&#34; title=&#34;SymHash: An ImpHash for Mach-O&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;symhash&lt;/a&gt; with any algo, separator and optional sort (Mach-O binaries)&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/apple-oss-distributions/xar/&#34; title=&#34;GitHub: apple-oss-distributions/xar&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;XAR&lt;/a&gt; archives (macOS packages) table of contents checksum with any algo and optional decompress (zlib)&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://developer.apple.com/documentation/technotes/tn3126-inside-code-signing-hashes&#34; title=&#34;TN3126: Inside Code Signing: Hashes&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;CDHash&lt;/a&gt; (signed Mach-O binaries)&lt;/li&gt;&#xA;&lt;li&gt;multithreading&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;With optimizations, &lt;code&gt;fashion&lt;/code&gt; is very fast yet has a minimal real memory footprint &amp;lt; 150MB:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
