Skip to content

Commit 267ee99

Browse files
Update the readme
1 parent 03cba74 commit 267ee99

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,24 @@ Quick links: [Using](#using) | [Installing](#installing) | [Contributing](#contr
1414
wp 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>

command.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,24 @@
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>

0 commit comments

Comments
 (0)