theme-juice 0.6.10 → 0.6.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +18 -1
- data/lib/theme-juice/cli.rb +1 -1
- data/lib/theme-juice/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: c9e5d71b14c5601d1e642372424e67b8b759ab95
|
4
|
+
data.tar.gz: 334a0c04778d74affc3e9aa740ed2008431bf4d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd8872c9ded9337c20ff14beea6f6d6824346ebed8161a3c59503421b0e8a78f5c907f16f48c1e72202204b60a681302d486bfc558df48fc258db7699c4aa170
|
7
|
+
data.tar.gz: dde270cce46ee487c0fc86b669ab04ac1ae5eb2d5101fafcd8c1fe681c4fc18df17fb7d8ba7fdcfc9ad2b3f30c04bddb3224f56022b8ac95ec07de10fccb1304
|
data/README.md
CHANGED
@@ -62,7 +62,7 @@ tj create [<SITE-NAME>] # Aliases: new, add, build, make
|
|
62
62
|
| Flag | Type | Description |
|
63
63
|
|:--------------------------- |:------ |:------------------------------------------------ |
|
64
64
|
| `-b, [--bare]` | Bool | Create a VVV site without a starter theme |
|
65
|
-
| `-
|
65
|
+
| `-n, [--name=NAME]` | String | Name of the development site |
|
66
66
|
| `-l, [--location=LOCATION]` | Path | Location of the local site |
|
67
67
|
| `-t, [--theme=THEME]` | URL | Starter theme to install |
|
68
68
|
| `-u, [--url=URL]` | URL | Development URL of the site (must end in `.dev`) |
|
@@ -77,12 +77,29 @@ Use this to setup an existing local site installation within the development env
|
|
77
77
|
tj setup [<SITE-NAME>] # Aliases: prep
|
78
78
|
```
|
79
79
|
|
80
|
+
#### Option flags:
|
81
|
+
| Flag | Type | Description |
|
82
|
+
|:--------------------------- |:------ |:------------------------------------------------ |
|
83
|
+
| `-n, [--name=NAME]` | String | Name of the development site |
|
84
|
+
| `-l, [--location=LOCATION]` | Path | Location of the local site |
|
85
|
+
| `-u, [--url=URL]` | URL | Development URL of the site (must end in `.dev`) |
|
86
|
+
| `-r, [--repository]` | String | Initialize a new Git remote repository |
|
87
|
+
| `[--skip-repo]` | Bool | Skip repository prompts and set to `none` |
|
88
|
+
| `[--skip-db]` | Bool | Skip database prompts and use defaults |
|
89
|
+
| `[--use-defaults]` | Bool | Skip all prompts and use defaults |
|
90
|
+
|
80
91
|
### Deleting a site from the VM: _(Does not remove your local site)_
|
81
92
|
Use this to remove a site from your development environment. This is only remove files that were generated by `tj`. including the database setup, development url, and shared directories. _It will not touch your local files._
|
82
93
|
```bash
|
83
94
|
tj delete <SITE-NAME> # Aliases: remove, trash, teardown
|
84
95
|
```
|
85
96
|
|
97
|
+
#### Option flags:
|
98
|
+
| Flag | Type | Description |
|
99
|
+
|:--------------------------- |:------ |:------------------------------------------------ |
|
100
|
+
| `-n, [--name=NAME]` | String | Name of the development site |
|
101
|
+
| `-r, [--restart]` | Bool | Restart development environment after deletion |
|
102
|
+
|
86
103
|
### Listing all `tj` sites in the VM:
|
87
104
|
Use this to list all sites within your development environment that were generated by `tj`.
|
88
105
|
```bash
|
data/lib/theme-juice/cli.rb
CHANGED
@@ -116,7 +116,7 @@ module ThemeJuice
|
|
116
116
|
|
117
117
|
desc "delete [NAME]", "Remove site from the VVV development environment (does not remove local site)"
|
118
118
|
method_option :name, :type => :string, :aliases => "-n", :default => false, :desc => "Name of the development site"
|
119
|
-
method_option :restart, :type => :boolean, :aliases => "-r", :desc => "Restart development environment after
|
119
|
+
method_option :restart, :type => :boolean, :aliases => "-r", :desc => "Restart development environment after deletion"
|
120
120
|
#
|
121
121
|
# Remove all traces of site from Vagrant
|
122
122
|
#
|
data/lib/theme-juice/version.rb
CHANGED