stash/pkg/plugin/examples/python/pyraw.yml

30 lines
870 B
YAML

# example plugin config
name: Hawwwwt Tagger (Raw Python edition)
description: Python Hawwwwt tagging utility (using raw interface).
version: 1.0
url: http://www.github.com/stashapp/stash
exec:
- python
- "{pluginDir}/pyplugin.py"
interface: raw
tasks:
- name: Add hawwwwt tag to random scene
description: Creates a "Hawwwwt" tag if not present and adds to a random scene.
defaultArgs:
mode: add
- name: Remove hawwwwt tag from system
description: Removes the "Hawwwwt" tag from all scenes and deletes the tag.
defaultArgs:
mode: remove
- name: Indefinite task
description: Sleeps indefinitely - interruptable
# we'll try command-line argument for this one
execArgs:
- indef
- "{pluginDir}"
- name: Long task
description: Sleeps for 100 seconds - interruptable
defaultArgs:
mode: long