Open KAGEYAM4 opened 3 months ago
I can add a flag to enable/disable the running of the commands with no problem.
As for passing a custom one, it'd be a bit more complicated, since there's different versions of commands (SQL and shell commands), and there's different steps at which commands are run: startup, for each tag, for each image, end (cf docs). Although the before/after commands shouldn't be necessary in a CLI context where the parent script can just do it itself.
I'll give it a whirl and see how it goes.
I though there was just one type of command - Shell commands and user can run whatever program they want through shell wether it be sqllite3, jq or some other command. Where's this SQL command?
Also what is the difference between these two screens ->
The second screenshot is what you're asking for, the SQL commands.
Is your feature request related to a problem? Please describe I currently use "commands" to add list of new images downloaded. I would like this "commnds" to be skipped (i.e "commands won't run"), or maybe provide custom "commands" from the
cli
for some sources. For example-Grabber-cli *****
, and using source-x, i don't want the "commands" to run.Grabber-cli *****
, and using source-y, i want to provide custom "commands" to run.Describe the solution you'd like
--commands
cli option to change the command that is run.