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
- Host: GitHub
- URL: https://github.com/kabooboo/baraddur
- Owner: kabooboo
- License: apache-2.0
- Created: 2022-12-28T22:52:33.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-29T16:33:45.000Z (about 2 years ago)
- Last Synced: 2024-04-17T06:05:29.121Z (almost 2 years ago)
- Topics: cli, execute, golang, regex, script
- Language: Go
- Homepage:
- Size: 1.13 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Roadmap: ROADMAP.md
Awesome Lists containing this project
README

 [](https://pypi.org/project/black/) 
[](https://github.com/pypa/hatch)   
---
✨ 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...