-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.yaml
46 lines (45 loc) · 1.58 KB
/
plugin.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: wordpress-scaffold-generic-plugin
description: "Stack Wordpress :: Plugin :: Generate a generic structure for a Wordpress Plugin"
display-name: "Wordpress Scaffold Generic Plugin"
picture: plugin.png
category: backend # Ref: https://docs.stackspot.com/latest/docs/creators-guide/yaml/#category
compatibility:
- PHP
- Docker
- Wordpress
about: docs/about.md
usage: docs/usage.md
use-case: docs/use-case.md
implementation: docs/implementation.md
technologies: # Ref: https://docs.stackspot.com/latest/docs/creators-guide/yaml/#technologies
- "Web"
types:
- app
inputs:
- label: "Wordpress :: Plugin Name"
type: text
name: wordpress_plugin_name
default: stackspot-plugin
- label: "Wordpress :: Plugin URI"
type: text
name: wordpress_plugin_uri
default: "https://www.your-site.com/"
- label: "Wordpress :: Plugin Description"
type: text
name: wordpress_plugin_description
default: "Plugin description"
- label: "Wordpress :: Plugin Version"
type: text
name: wordpress_plugin_version
default: "0.1"
- label: "Wordpress :: Plugin Author"
type: text
name: wordpress_plugin_author
default: "your-name"
- label: "Wordpress :: Plugin Author URI"
type: text
name: wordpress_plugin_author_uri
default: "https://www.your-site.com/"
computedInputs:
base_path: "{% if global_computed_inputs.src_base_path is defined and global_computed_inputs.src_base_path != '' %}{{global_computed_inputs.src_base_path}}{% else %}{{'.'}}{% endif %}"
wordpress_plugin_name_lowercase: "{{ wordpress_plugin_name.lower().replace(' ', '-') }}"