Skip to content

Commit

Permalink
Add --base-url to README
Browse files Browse the repository at this point in the history
  • Loading branch information
dfornika committed May 25, 2020
1 parent 1b4a622 commit cb19dd8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
### List available schemes

```
usage: pubmlst_list [-h] [--pattern PATTERN]
[--exclude_pattern EXCLUDE_PATTERN] [--names_only]
usage: pubmlst_list [-h] [--pattern PATTERN] [--exclude_pattern EXCLUDE_PATTERN] [--names_only] [--base-url BASE_URL]
optional arguments:
-h, --help show this help message and exit
Expand All @@ -15,6 +14,8 @@ optional arguments:
--exclude_pattern EXCLUDE_PATTERN, -e EXCLUDE_PATTERN
regex pattern to filter scheme names
--names_only, -n Only show scheme names
--base-url BASE_URL, -b BASE_URL
Base URL for the API. Suggested values are: http://rest.pubmlst.org/db (default), https://bigsdb.pasteur.fr/api/db
```

#### Example Output
Expand All @@ -30,8 +31,7 @@ optional arguments:
### Download schemes

```
usage: pubmlst_download [-h] [--scheme_name SCHEME_NAME]
[--scheme_id SCHEME_ID] [--outdir OUTDIR]
usage: pubmlst_download [-h] --scheme_name SCHEME_NAME [--scheme_id SCHEME_ID] [--outdir OUTDIR] [--base-url BASE_URL]
optional arguments:
-h, --help show this help message and exit
Expand All @@ -41,4 +41,6 @@ optional arguments:
scheme id
--outdir OUTDIR, -o OUTDIR
output directory
--base-url BASE_URL, -b BASE_URL
Base URL for the API. Suggested values are: http://rest.pubmlst.org/db (default), https://bigsdb.pasteur.fr/api/db
```

0 comments on commit cb19dd8

Please sign in to comment.