You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2020. It is now read-only.
Copy file name to clipboardexpand all lines: patternlabsite/docs/command-line.md
+21-11
Original file line number
Diff line number
Diff line change
@@ -99,25 +99,35 @@ The version command prints out the current version of Pattern Lab.
99
99
100
100
{% capture m %}
101
101
102
-
The following are grunt task arguments you may execute:
102
+
The Pattern Lab Node command line interface utilizes grunt or gulp tasks as the primary entry point to perform functions across all platforms. Two JavaScript files, `builer/patternlab_grunt.js` and `builer/patternlab_gulp.js` wrap and expose functions from the vanilla `builder/patternlab.js` engine.
103
103
104
-
`patternlab`
105
-
With no arguments, patternlab runs the full builder, compiling patterns, and constructing the front-end site.
104
+
In the following commands, the `grunt|gulp` pairing signifies that both task systems share the same subsequent command.
106
105
107
-
`patternlab:only_patterns`
108
-
Compile the patterns only, outputting to `./public/patterns`
106
+
## Generation Commands
109
107
110
-
`patternlab:v`
111
-
Retrieve the version of patternlab-node you have installed
108
+
`grunt|gulp patternlab`
112
109
113
-
`patternlab:help`
114
-
Get more information about patternlab-node, pattern lab in general, and where to report issues.
110
+
With no arguments, `patternlab `runs the full Pattern Lab Node builder once, removes old content from `public/`, compiles patterns, and moves content from `source/` to `public/`.
115
111
116
-
These are best suited to encorporate into your `Gruntfile.js` as you see shipped with Pattern Lab Node.
112
+
`grunt|gulp patternlab:only_patterns`
113
+
114
+
Compile the patterns only, outputting to `public/patterns/`. This omits the entire subset of logic that generates the Pattern Lab website.
115
+
116
+
These are best suited to incorporate into your `Gruntfile.js` or `Gulpfile.s` as you see shipped with Pattern Lab Node.
117
+
118
+
## Utility Commands
119
+
120
+
`grunt|gulp patternlab:v`
121
+
122
+
Retrieve the version of patternlab-node you have installed.
123
+
124
+
`grunt|gulp patternlab:help`
125
+
126
+
Get more information about patternlab-node, Pattern Lab in general, and where to report issues.
0 commit comments