Hacker News new | ask | show | jobs
by tuna-f1sh 1267 days ago
The project started as a quick replacement for a barely working macOS System Profiler to `lsusb` style script. Like most fun projects, it quickly experienced feature creep as I developed it into a cross-platform alternative `lsusb`.

As a developer of embedded devices, I use a USB list tool on a frequent basis and made cyme to cater to what I believe are the short comings of `lsusb`; verbose dump is too verbose, tree doesn't contain useful data on the whole, it barely works on non-Linux platforms and modern terminals support features that make glancing through the data easier; colour, icons. It also features more filtering options, that grepping the output would not facilitate.

Under the hood it uses 'libusb' and the macOS System Profiler CLI tool on macOS.

Does one _need_ a replacement for `lsusb`? No. It's akin to other modern CLI tools such as `lsd` and `fd` - both Rust projects I used as references developing `cyme`. I find it quicker to find attached devices and find whether a device I'm working on is enumerating how I expect than `lsusb` and perhaps others will too.