An open API service indexing awesome lists of open source software.

https://github.com/kabooboo/baraddur

:eye: Execute commands based on regex-matching sub-directories
https://github.com/kabooboo/baraddur

cli execute golang regex script

Last synced: 5 months ago
JSON representation

:eye: Execute commands based on regex-matching sub-directories

Awesome Lists containing this project

README

          

![Logo](docs/assets/logo.png)

![PyPI - Python Version](https://img.shields.io/pypi/pyversions/baraddur) [![Black](https://img.shields.io/badge/code%20style-black-black.svg)](https://pypi.org/project/black/) ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/kabooboo/baraddur/test.yml?label=tests)
[![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch) ![PyPI](https://img.shields.io/pypi/v/baraddur) ![PyPI - License](https://img.shields.io/pypi/l/baraddur) ![GitHub Repo stars](https://img.shields.io/github/stars/kabooboo/baraddur?style=social)

---

✨ 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**](https://midjourney.com)

## Alternatives

- `find`, `grep`, `xargs`, `yq` and the _good-old pipe_, I guess...