Skip to content

Commit

Permalink
Updated "Options" section on README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiosanches committed Aug 18, 2020
1 parent 4aec382 commit 69bf3bb
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,22 @@ git clone https://github.com/woocommerce/code-reference-generator.git

```bash
cd code-reference-generator
./generate.sh -s <woocommerce_version>
./deploy.sh -s <VERSION>
```

### Options

| Options | Description |
|----------------------------|-----------------------------------------------------------------|
| `-h` or `--help` | Shows help message |
| `-v` or `--version` | Shows generator version |
| `-s` or `--source-version` | Version of the source code to release |
| `-r` or `--github-repo` | GitHub repo with username, default to "woocommerce/woocommerce" |
| Options | Description |
| --------------------------------------------------- | --------------------------------------------------------------------- |
| `-h` or `--help` | Show help information. |
| `-v` or `--verbose` | Increase verbosity. Useful for debugging. |
| `-s <VERSION>` or `--source-version <VERSION>` | Source version to build and deploy. |
| `-r <GITHUB_REPO>` or `--github-repo <GITHUB_REPO>` | GitHub repo with username, default to \"woocommerce/woocommerce\". |
| `-e` or `--allow-empty` | Allow deployment of an empty directory. |
| `-m <MESSAGE>` or `--message <MESSAGE>` | Specify the message used when committing on the deploy branch. |
| `-n` or `--no-hash` | Don't append the source commit's hash to the deploy commit's message. |
| `--build-only` | Only build but not push. |
| `--push-only` | Only push but not build. |

## Changelog

Expand Down

0 comments on commit 69bf3bb

Please sign in to comment.