Skip to content

👁️ Execute commands based on regex-matching sub-directories

License

Notifications You must be signed in to change notification settings

kabooboo/baraddur

Repository files navigation

Logo

PyPI - Python Version Black GitHub Workflow Status Hatch project PyPI PyPI - License GitHub Repo stars


✨ Barad-dûr is the eye that watches all 👁️. This CLI tools allows users to traverse recursively a directory and launch custom commands based on some chosen regex matching the path.

Motivation

This project aims to provide a tool capable of scanning a directory recursively and executing commands on specific subdirectories.

The initial motivation for this project is to launch multiple security scans in different parts of a mono-repo, but it can be used to many other things.

Demo

GIF is WIP

Installation

To install baraddur, simply run:

WIP

Parameters

The baraddur tool allows for the following parameters:

CLI

WIP

Configuration file

WIP

Running programmatically

WIP


Logo is © from Midjourney

Alternatives

  • find, grep, xargs, yq and the good-old pipe, I guess...

About

👁️ Execute commands based on regex-matching sub-directories

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published