stash/pkg/plugin/examples/js/js.yml

28 lines
827 B
YAML
Raw Normal View History

2021-05-26 04:17:53 +00:00
# example plugin config
name: Hawwwwt Tagger (Javascript edition)
description: Javascript Hawwwwt tagging utility (using raw interface).
version: 1.0
url: http://www.github.com/stashapp/stash
exec:
- js.js
interface: js
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
defaultArgs:
mode: indef
- name: Long task
description: Sleeps for 100 seconds - interruptable
defaultArgs:
mode: long