mxxntype / reddot

Find executables in $PATH and serialize them to JSON list

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

reddot | Find executables in $PATH and serialize them to JSON list

A tiny rust tool meant to be called from within scripts and widgets.

Usage:

reddot [OPTIONS] <PATTERN>

Options:

  • -m, --max-files <MAX_FILES> Maximum count of executables in output
  • -h, --help Print help

Nix

The repository contains a flake.nix, so reddot can be easily added to inputs of another flake:

reddot.url = "github:mxxntype/reddot";

And then added to the package list like this:

home.packages = with pkgs; [
  inputs.reddot.packages.${pkgs.system}.default
];

About

Find executables in $PATH and serialize them to JSON list


Languages

Language:Rust 76.0%Language:Nix 24.0%