Skip to content

Commit

Permalink
update command usage
Browse files Browse the repository at this point in the history
  • Loading branch information
alimasri committed Nov 24, 2024
1 parent 86efc7b commit 94427bf
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,21 @@ pip install -e .
The validator can be run from the command line with the following syntax:

```bash
cloudbuild-validator [-h] [-s SCHEMA] -f FILE
```
usage: cloudbuild-validator [-h] [-s SCHEMA] file

positional arguments:
file Path to the content file to validate

### Options:
- `-h, --help`: Show the help message and exit
- `-s SCHEMA, --schema SCHEMA`: Path to the schema file to validate against
- `-f FILE, --file FILE`: Path to the content file to validate
options:
-h, --help show this help message and exit
-s SCHEMA, --schema SCHEMA
Path to the schema file to validate against
```

### Example

```bash
cloudbuild-validator -f /path/to/cloudbuild.yaml
cloudbuild-validator /path/to/cloudbuild.yaml
```

### Programmatic Usage
Expand Down

0 comments on commit 94427bf

Please sign in to comment.