graze / graze/sprout

Add post dump hooks

Open
#10 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
PHP
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

- Allow for a custom command to be run after something is dumped
- This could (for example) attempt to remove rows with a deleted field set

You should be able to define formats the hooks are called on.

Potential config:

```yaml
hooks:
- type: post_dump
format: sql
command: /path/to/runnable/file
```

Contributor guide

Open the contributing guide

Research direction

The issue proposes configurable post_dump hooks, including a command and the formats on which each hook runs. Define what supported hook behavior and completion criteria are before locating the relevant configuration and dump-processing entry points; done means a configured command runs after the selected dump format is generated.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.