Skip to content

Commit

Permalink
Merge pull request #10 from stellarwp/fix-package-docs
Browse files Browse the repository at this point in the history
Fix `pup package` docs
  • Loading branch information
borkweb authored Dec 19, 2023
2 parents addc889 + 1cd5fa7 commit f233df3
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,17 +238,16 @@ The zip that is generated will be placed in your project's root directory.

### Usage
```bash
pup package <version> [--dev]
pup package <version>
# or
composer -- pup package <version> [--dev]
composer -- pup package <version>
```

### Arguments
| Argument | Description |
|-----------|----------------------------------------------------------------------------------------------------------|
| `version` | **Required.** The version number to use when packaging. |
| `--dev` | **Optional.** Whether or not this is a dev build. Using this option will result in a dev version number. |
| `--root` | **Optional.** Run the command from a different directory from the current. |
| Argument | Description |
|-----------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
| `version` | **Required.** The version number to use when packaging. You can generate this using [`pup get-version`](/docs/commands.md#pup-get-version) if desired. | |
| `--root` | **Optional.** Run the command from a different directory from the current. |

## `pup zip`
Runs the full `pup` set of commands to create a zip file.
Expand Down

0 comments on commit f233df3

Please sign in to comment.