theme-juice 0.7.14 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +9 -167
- data/lib/theme-juice/cli.rb +64 -91
- data/lib/theme-juice/commands/create.rb +26 -27
- data/lib/theme-juice/commands/delete.rb +4 -7
- data/lib/theme-juice/commands/deploy.rb +1 -14
- data/lib/theme-juice/env.rb +52 -3
- data/lib/theme-juice/helpers/singleton_helper.rb +8 -1
- data/lib/theme-juice/man/tj +212 -0
- data/lib/theme-juice/man/tj-create +115 -0
- data/lib/theme-juice/man/tj-create.txt +75 -0
- data/lib/theme-juice/man/tj-delete +53 -0
- data/lib/theme-juice/man/tj-delete.txt +39 -0
- data/lib/theme-juice/man/tj-setup +92 -0
- data/lib/theme-juice/man/tj-setup.txt +61 -0
- data/lib/theme-juice/man/tj.txt +130 -0
- data/lib/theme-juice/project.rb +13 -0
- data/lib/theme-juice/task.rb +0 -12
- data/lib/theme-juice/tasks/list.rb +0 -3
- data/lib/theme-juice/tasks/vm.rb +6 -6
- data/lib/theme-juice/version.rb +1 -1
- metadata +24 -2
@@ -0,0 +1,75 @@
|
|
1
|
+
TJ-CREATE(1) Theme Juice Manual TJ-CREATE(1)
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
NAME
|
6
|
+
tj-create - Create a new project
|
7
|
+
|
8
|
+
SYNOPSIS
|
9
|
+
tj create [--flag=arg] [--flag]
|
10
|
+
|
11
|
+
DESCRIPTION
|
12
|
+
Creates a new project. It will lead the user through a series of
|
13
|
+
prompts to
|
14
|
+
set up required project information, such as name, location, theme,
|
15
|
+
database
|
16
|
+
info, etc. Using the specified information, it will run the installa-
|
17
|
+
tion
|
18
|
+
process and set up a local development environment, if it hasn't
|
19
|
+
already
|
20
|
+
been set up. It will sync your local project location with the project
|
21
|
+
location within the VM.
|
22
|
+
|
23
|
+
GLOBAL OPTIONS
|
24
|
+
-n, --name=string:
|
25
|
+
Name of the project
|
26
|
+
|
27
|
+
|
28
|
+
-l, --location=path:
|
29
|
+
Location of the local project
|
30
|
+
|
31
|
+
|
32
|
+
-t, --theme=repository:
|
33
|
+
Starter theme to install
|
34
|
+
|
35
|
+
|
36
|
+
-u, --url=url:
|
37
|
+
Development URL for the project
|
38
|
+
|
39
|
+
|
40
|
+
-r, --repository=repository:
|
41
|
+
Initialize a new Git remote repository
|
42
|
+
|
43
|
+
|
44
|
+
-i, --import-db=path:
|
45
|
+
Import an existing database
|
46
|
+
|
47
|
+
|
48
|
+
--bare, --no-theme:
|
49
|
+
Create a project without a starter theme
|
50
|
+
|
51
|
+
|
52
|
+
--skip-repo:
|
53
|
+
Skip repository prompts and use default settings
|
54
|
+
|
55
|
+
|
56
|
+
--skip-db:
|
57
|
+
Skip database prompts and use default settings
|
58
|
+
|
59
|
+
|
60
|
+
--use-defaults:
|
61
|
+
Skip all prompts and use default settings
|
62
|
+
|
63
|
+
|
64
|
+
--no-wp:
|
65
|
+
Project is not a WordPress install
|
66
|
+
|
67
|
+
|
68
|
+
--no-db:
|
69
|
+
Project does not need a database
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
June 2015 TJ-CREATE(1)
|
@@ -0,0 +1,53 @@
|
|
1
|
+
.\" generated with Ronn/v0.7.3
|
2
|
+
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
|
+
.
|
4
|
+
.TH "TJ\-DELETE" "1" "June 2015" "" "Theme Juice Manual"
|
5
|
+
.
|
6
|
+
.SH "NAME"
|
7
|
+
\fBtj\-delete\fR \- Delete a project
|
8
|
+
.
|
9
|
+
.SH "SYNOPSIS"
|
10
|
+
\fBtj delete\fR [\-\-flag=\fIarg\fR] [\-\-flag]
|
11
|
+
.
|
12
|
+
.SH "DESCRIPTION"
|
13
|
+
Remove a project from your development environment\. This will only remove files
|
14
|
+
.
|
15
|
+
.br
|
16
|
+
that were generated by \fBtj\fR i\.e\. the database setup, development url, and
|
17
|
+
.
|
18
|
+
.br
|
19
|
+
shared directories\.
|
20
|
+
.
|
21
|
+
.P
|
22
|
+
It will not touch your local folders that were synced to the VM\.
|
23
|
+
.
|
24
|
+
.SH "GLOBAL OPTIONS"
|
25
|
+
.
|
26
|
+
.TP
|
27
|
+
\fB\-n\fR, \fB\-\-name\fR=\fIstring\fR:
|
28
|
+
.
|
29
|
+
.br
|
30
|
+
Name of the project
|
31
|
+
|
32
|
+
.
|
33
|
+
.TP
|
34
|
+
\fB\-u\fR, \fB\-\-url\fR=\fIurl\fR:
|
35
|
+
.
|
36
|
+
.br
|
37
|
+
Development URL for the project
|
38
|
+
|
39
|
+
.
|
40
|
+
.TP
|
41
|
+
\fB\-\-drop\-db\fR, \fB\-\-db\-drop\fR:
|
42
|
+
.
|
43
|
+
.br
|
44
|
+
Drop the project\'s database
|
45
|
+
|
46
|
+
.
|
47
|
+
.TP
|
48
|
+
\fB\-\-restart\-vm\fR, \fB\-\-vm\-restart\fR:
|
49
|
+
.
|
50
|
+
.br
|
51
|
+
Restart the VM after deletion
|
52
|
+
|
53
|
+
|
@@ -0,0 +1,39 @@
|
|
1
|
+
TJ-DELETE(1) Theme Juice Manual TJ-DELETE(1)
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
NAME
|
6
|
+
tj-delete - Delete a project
|
7
|
+
|
8
|
+
SYNOPSIS
|
9
|
+
tj delete [--flag=arg] [--flag]
|
10
|
+
|
11
|
+
DESCRIPTION
|
12
|
+
Remove a project from your development environment. This will only
|
13
|
+
remove files
|
14
|
+
that were generated by tj i.e. the database setup, development url, and
|
15
|
+
shared directories.
|
16
|
+
|
17
|
+
It will not touch your local folders that were synced to the VM.
|
18
|
+
|
19
|
+
GLOBAL OPTIONS
|
20
|
+
-n, --name=string:
|
21
|
+
Name of the project
|
22
|
+
|
23
|
+
|
24
|
+
-u, --url=url:
|
25
|
+
Development URL for the project
|
26
|
+
|
27
|
+
|
28
|
+
--drop-db, --db-drop:
|
29
|
+
Drop the project's database
|
30
|
+
|
31
|
+
|
32
|
+
--restart-vm, --vm-restart:
|
33
|
+
Restart the VM after deletion
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
June 2015 TJ-DELETE(1)
|
@@ -0,0 +1,92 @@
|
|
1
|
+
.\" generated with Ronn/v0.7.3
|
2
|
+
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
|
+
.
|
4
|
+
.TH "TJ\-SETUP" "1" "June 2015" "" "Theme Juice Manual"
|
5
|
+
.
|
6
|
+
.SH "NAME"
|
7
|
+
\fBtj\-setup\fR \- Setup an existing project
|
8
|
+
.
|
9
|
+
.SH "SYNOPSIS"
|
10
|
+
\fBtj setup\fR [\-\-flag=\fIarg\fR] [\-\-flag]
|
11
|
+
.
|
12
|
+
.SH "DESCRIPTION"
|
13
|
+
Sets up an existing local project within the development environment\. You
|
14
|
+
.
|
15
|
+
.br
|
16
|
+
will go through a series of prompts to create the necessary files\. This
|
17
|
+
.
|
18
|
+
.br
|
19
|
+
command is essentially an alias for \fBtj create \-\-bare\fR\.
|
20
|
+
.
|
21
|
+
.SH "GLOBAL OPTIONS"
|
22
|
+
.
|
23
|
+
.TP
|
24
|
+
\fB\-n\fR, \fB\-\-name\fR=\fIname\fR:
|
25
|
+
.
|
26
|
+
.br
|
27
|
+
Name of the project
|
28
|
+
|
29
|
+
.
|
30
|
+
.TP
|
31
|
+
\fB\-l\fR, \fB\-\-location\fR=\fIpath\fR:
|
32
|
+
.
|
33
|
+
.br
|
34
|
+
Location of the local project
|
35
|
+
|
36
|
+
.
|
37
|
+
.TP
|
38
|
+
\fB\-u\fR, \fB\-\-url\fR=\fIurl\fR:
|
39
|
+
.
|
40
|
+
.br
|
41
|
+
Development URL for the project
|
42
|
+
|
43
|
+
.
|
44
|
+
.TP
|
45
|
+
\fB\-r\fR, \fB\-\-repository\fR=\fIrepository\fR:
|
46
|
+
.
|
47
|
+
.br
|
48
|
+
Initialize a new Git remote repository
|
49
|
+
|
50
|
+
.
|
51
|
+
.TP
|
52
|
+
\fB\-i\fR, \fB\-\-import\-db\fR=\fIpath\fR:
|
53
|
+
.
|
54
|
+
.br
|
55
|
+
Import an existing database
|
56
|
+
|
57
|
+
.
|
58
|
+
.TP
|
59
|
+
\fB\-\-skip\-repo\fR:
|
60
|
+
.
|
61
|
+
.br
|
62
|
+
Skip repository prompts and use default settings
|
63
|
+
|
64
|
+
.
|
65
|
+
.TP
|
66
|
+
\fB\-\-skip\-db\fR:
|
67
|
+
.
|
68
|
+
.br
|
69
|
+
Skip database prompts and use default settings
|
70
|
+
|
71
|
+
.
|
72
|
+
.TP
|
73
|
+
\fB\-\-use\-defaults\fR:
|
74
|
+
.
|
75
|
+
.br
|
76
|
+
Skip all prompts and use default settings
|
77
|
+
|
78
|
+
.
|
79
|
+
.TP
|
80
|
+
\fB\-\-no\-wp\fR:
|
81
|
+
.
|
82
|
+
.br
|
83
|
+
Project is not a WordPress install
|
84
|
+
|
85
|
+
.
|
86
|
+
.TP
|
87
|
+
\fB\-\-no\-db\fR:
|
88
|
+
.
|
89
|
+
.br
|
90
|
+
Project does not need a database
|
91
|
+
|
92
|
+
|
@@ -0,0 +1,61 @@
|
|
1
|
+
TJ-SETUP(1) Theme Juice Manual TJ-SETUP(1)
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
NAME
|
6
|
+
tj-setup - Setup an existing project
|
7
|
+
|
8
|
+
SYNOPSIS
|
9
|
+
tj setup [--flag=arg] [--flag]
|
10
|
+
|
11
|
+
DESCRIPTION
|
12
|
+
Sets up an existing local project within the development environment.
|
13
|
+
You
|
14
|
+
will go through a series of prompts to create the necessary files. This
|
15
|
+
command is essentially an alias for tj create --bare.
|
16
|
+
|
17
|
+
GLOBAL OPTIONS
|
18
|
+
-n, --name=name:
|
19
|
+
Name of the project
|
20
|
+
|
21
|
+
|
22
|
+
-l, --location=path:
|
23
|
+
Location of the local project
|
24
|
+
|
25
|
+
|
26
|
+
-u, --url=url:
|
27
|
+
Development URL for the project
|
28
|
+
|
29
|
+
|
30
|
+
-r, --repository=repository:
|
31
|
+
Initialize a new Git remote repository
|
32
|
+
|
33
|
+
|
34
|
+
-i, --import-db=path:
|
35
|
+
Import an existing database
|
36
|
+
|
37
|
+
|
38
|
+
--skip-repo:
|
39
|
+
Skip repository prompts and use default settings
|
40
|
+
|
41
|
+
|
42
|
+
--skip-db:
|
43
|
+
Skip database prompts and use default settings
|
44
|
+
|
45
|
+
|
46
|
+
--use-defaults:
|
47
|
+
Skip all prompts and use default settings
|
48
|
+
|
49
|
+
|
50
|
+
--no-wp:
|
51
|
+
Project is not a WordPress install
|
52
|
+
|
53
|
+
|
54
|
+
--no-db:
|
55
|
+
Project does not need a database
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
June 2015 TJ-SETUP(1)
|
@@ -0,0 +1,130 @@
|
|
1
|
+
TJ(1) Theme Juice Manual TJ(1)
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
NAME
|
6
|
+
tj - WordPress development made easy
|
7
|
+
|
8
|
+
SYNOPSIS
|
9
|
+
tj [command] [--flag=arg] [--flag]
|
10
|
+
|
11
|
+
DESCRIPTION
|
12
|
+
Theme Juice is a WordPress development command line utility that allows
|
13
|
+
you to scaffold out entire Vagrant development environments in seconds
|
14
|
+
(using VVV https://github.com/Varying-Vagrant-Vagrants/VVV as the VM),
|
15
|
+
manage dependencies and build tools, and even handle deployments.
|
16
|
+
|
17
|
+
GLOBAL OPTIONS
|
18
|
+
--vm-box=repository:
|
19
|
+
Force Vagrant box to use for VM
|
20
|
+
|
21
|
+
|
22
|
+
--vm-path=path:
|
23
|
+
Force path to VM
|
24
|
+
|
25
|
+
|
26
|
+
--vm-ip=ip:
|
27
|
+
Force IP address of VM
|
28
|
+
|
29
|
+
|
30
|
+
--vm-prefix=string:
|
31
|
+
Force directory prefix for project in VM
|
32
|
+
|
33
|
+
|
34
|
+
--yolo:
|
35
|
+
Say yes to anything and everything
|
36
|
+
|
37
|
+
|
38
|
+
--boring:
|
39
|
+
Prints all output without any fancy formatting
|
40
|
+
|
41
|
+
|
42
|
+
--no-unicode:
|
43
|
+
Prints all output without unicode characters
|
44
|
+
|
45
|
+
|
46
|
+
--no-colors, --no-color:
|
47
|
+
Prints all output without color
|
48
|
+
|
49
|
+
|
50
|
+
--no-animations:
|
51
|
+
Prints all output without animations (coming soon)
|
52
|
+
|
53
|
+
|
54
|
+
--no-landrush:
|
55
|
+
Disable the landrush gem for managing DNS
|
56
|
+
|
57
|
+
|
58
|
+
--verbose:
|
59
|
+
Prints out additional logging information
|
60
|
+
|
61
|
+
|
62
|
+
--dryrun, --dry-run:
|
63
|
+
Run a command without actually doing anything
|
64
|
+
|
65
|
+
|
66
|
+
PRIMARY COMMANDS
|
67
|
+
Run tj help [command] to view an individual command's man page.
|
68
|
+
|
69
|
+
version, --version, -v:
|
70
|
+
Print the current version
|
71
|
+
|
72
|
+
|
73
|
+
create, new, mk:
|
74
|
+
Create a new project
|
75
|
+
|
76
|
+
|
77
|
+
setup, up, init:
|
78
|
+
Setup an existing project
|
79
|
+
|
80
|
+
|
81
|
+
delete, rm, remove, trash:
|
82
|
+
Delete a project
|
83
|
+
|
84
|
+
|
85
|
+
list, ls, projects, apps, sites:
|
86
|
+
List all projects
|
87
|
+
|
88
|
+
|
89
|
+
CONFIG COMMANDS
|
90
|
+
These run the corresponding command from your project's config file.
|
91
|
+
They
|
92
|
+
accept any number of commands, since the behavior and handling of input
|
93
|
+
is defined within the config file itself.
|
94
|
+
|
95
|
+
install, build=[command[,command]...]:
|
96
|
+
Run installation for project
|
97
|
+
|
98
|
+
|
99
|
+
watch, dev=[command[,command]...]:
|
100
|
+
Manage and run development build tools
|
101
|
+
|
102
|
+
|
103
|
+
vendor, deps=[command[,command]...]:
|
104
|
+
Manage PHP vendor dependencies
|
105
|
+
|
106
|
+
|
107
|
+
dist, pkg, package, zip=[command[,command]...]:
|
108
|
+
Package project for distribution
|
109
|
+
|
110
|
+
|
111
|
+
wp, wordpress=[command[,command]...]:
|
112
|
+
Manage WordPress installation
|
113
|
+
|
114
|
+
|
115
|
+
backup, bk=[command[,command]...]:
|
116
|
+
Backup project
|
117
|
+
|
118
|
+
|
119
|
+
test, tests, spec, specs=[command[,command]...]:
|
120
|
+
Manage and run project tests
|
121
|
+
|
122
|
+
|
123
|
+
vm, vagrant, vvv=[command[,command]...]:
|
124
|
+
Manage development environment
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
June 2015 TJ(1)
|