wordpress_tools 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wordpress_tools/shared_options.rb +9 -9
- data/lib/wordpress_tools/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 771b806315f6ab0f4b1ed7ce8f690587e62309aa
|
4
|
+
data.tar.gz: 5180bc8ca894423d268caf24f3905e9516942f73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 571e5c9f7acbce4663b62daad236f784b01a07a19b674d716ac3bd9f22a9a888dd228d11ed29ca99e8bbdfc26f0e2ca297c441c48419eb938d54d90a257b835a
|
7
|
+
data.tar.gz: ff8618d8ac92b095667d33a252058ca161771c6682dbd830d3e33c180b89149d00a1758543385ae61ea128d0e5fe9fe39fdff5f00108196250ca7d887bc81b8d
|
@@ -5,15 +5,15 @@ module WordPressTools
|
|
5
5
|
class_methods do
|
6
6
|
def shared_options
|
7
7
|
[
|
8
|
-
[:force, {type: :boolean, desc: "Overwrite existing WP-CLI / WP-CLI Server installation"}],
|
9
|
-
[:locale, { aliases: "-l", desc: "WordPress locale", default: Configuration.for(:locale)}],
|
10
|
-
[:bare, {aliases: "-b", desc: "Remove default themes and plugins"}],
|
11
|
-
[:admin_user, { desc: "WordPress admin user", default: Configuration.for(:admin_user)}],
|
12
|
-
[:admin_email, {desc: "WordPress admin email", default: Configuration.for(:admin_email)}],
|
13
|
-
[:admin_password, {desc: "WordPress admin password", default: Configuration.for(:admin_password)}],
|
14
|
-
[:db_user, {desc: "MySQL database user", default: Configuration.for(:db_user)}],
|
15
|
-
[:db_password, {desc: "MySQL database pasword", default: Configuration.for(:db_password)}],
|
16
|
-
[:site_url, {desc: "Wordpress site URL", default: Configuration.for(:site_url)}]
|
8
|
+
[:force, { type: :boolean, desc: "Overwrite existing WP-CLI / WP-CLI Server installation" }],
|
9
|
+
[:locale, { aliases: "-l", desc: "WordPress locale", default: Configuration.for(:locale) }],
|
10
|
+
[:bare, { type: :boolean, aliases: "-b", desc: "Remove default themes and plugins" }],
|
11
|
+
[:admin_user, { desc: "WordPress admin user", default: Configuration.for(:admin_user) }],
|
12
|
+
[:admin_email, { desc: "WordPress admin email", default: Configuration.for(:admin_email) }],
|
13
|
+
[:admin_password, { desc: "WordPress admin password", default: Configuration.for(:admin_password) }],
|
14
|
+
[:db_user, { desc: "MySQL database user", default: Configuration.for(:db_user) }],
|
15
|
+
[:db_password, { desc: "MySQL database pasword", default: Configuration.for(:db_password) }],
|
16
|
+
[:site_url, { desc: "Wordpress site URL", default: Configuration.for(:site_url) }]
|
17
17
|
]
|
18
18
|
end
|
19
19
|
|