ショートハンド
shorthand
構文を使用して、いくつかの steps
を指定できます。現在、以下の steps
がサポートされています。
login
使い方
"login": true,
または
{
"step": "login",
"username": "admin",
"password": "password"
}
plugins
(installPlugin
ステップを置き換えます)
使い方
"plugins": [
"hello-dolly",
"https://raw.githubusercontent.com/adamziel/blueprints/trunk/docs/assets/hello-from-the-dashboard.zip"
]
または
[
{
"step": "installPlugin",
"pluginData": {
"resource": "wordpress.org/plugins",
"slug": "hello-dolly"
}
},
{
"step": "installPlugin",
"pluginData": {
"resource": "url",
"url": "https://raw.githubusercontent.com/adamziel/blueprints/trunk/docs/assets/hello-from-the-dashboard.zip"
}
}
]
siteOptions
使い方
"siteOptions": {
"blogname": "My first Blueprint"
}
または
"step": "setSiteOptions",
"options": {
"blogname": "My first Blueprint"
}