File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed
Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,24 @@ Quick links: [Using](#using) | [Installing](#installing) | [Contributing](#contr
1414wp dist-archive <path> [--format=<format>]
1515~~~
1616
17+ For a plugin in a directory 'wp-content/plugins/hello-world', this command
18+ creates a distribution archive 'wp-content/plugins/hello-world.zip'.
19+
20+ You can specify files or directories you'd like to exclude from the archive
21+ with a .distignore file in your project repository:
22+
23+ ```
24+ .distignore
25+ .editorconfig
26+ .git
27+ .gitignore
28+ .travis.yml
29+ circle.yml
30+ ```
31+
32+ Use one distibution archive command for many projects, instead of a bash
33+ script in each project.
34+
1735** OPTIONS**
1836
1937 <path>
Original file line number Diff line number Diff line change 77/**
88 * Create a distribution archive based on a project's .distignore file.
99 *
10+ * For a plugin in a directory 'wp-content/plugins/hello-world', this command
11+ * creates a distribution archive 'wp-content/plugins/hello-world.zip'.
12+ *
13+ * You can specify files or directories you'd like to exclude from the archive
14+ * with a .distignore file in your project repository:
15+ *
16+ * ```
17+ * .distignore
18+ * .editorconfig
19+ * .git
20+ * .gitignore
21+ * .travis.yml
22+ * circle.yml
23+ * ```
24+ *
25+ * Use one distibution archive command for many projects, instead of a bash
26+ * script in each project.
27+ *
1028 * ## OPTIONS
1129 *
1230 * <path>
You can’t perform that action at this time.
0 commit comments