@@ -12,7 +12,7 @@ mvn clean package -pl onebusaway-api-key-cli -am
1212
1313This creates a standalone JAR with all dependencies at:
1414```
15- onebusaway-api-key-cli/target/onebusaway-api-key-cli-2.7.0 -withAllDependencies.jar
15+ onebusaway-api-key-cli/target/onebusaway-api-key-cli-2.7.1 -withAllDependencies.jar
1616```
1717
1818## Prerequisites
@@ -40,13 +40,13 @@ The database must already have the OneBusAway schema created (tables `oba_users`
4040## Usage
4141
4242``` bash
43- java -jar onebusaway-api-key-cli-2.7.0 -withAllDependencies.jar < command> [options]
43+ java -jar onebusaway-api-key-cli-2.7.1 -withAllDependencies.jar < command> [options]
4444```
4545
4646### Example
4747
4848``` bash
49- java -jar onebusaway-api-key-cli/target/onebusaway-api-key-cli-2.7.0 -withAllDependencies.jar \
49+ java -jar onebusaway-api-key-cli/target/onebusaway-api-key-cli-2.7.1 -withAllDependencies.jar \
5050 list \
5151 --config api-key-cli-data-source.xml
5252```
@@ -104,14 +104,14 @@ java -jar onebusaway-api-key-cli/target/onebusaway-api-key-cli-2.7.0-withAllDepe
104104Create a new API key with auto-generated UUID:
105105
106106``` bash
107- java -jar onebusaway-api-key-cli-2.7.0 -withAllDependencies.jar create \
107+ java -jar onebusaway-api-key-cli-2.7.1 -withAllDependencies.jar create \
108108 --config /path/to/data-sources.xml
109109```
110110
111111Create a key with contact information:
112112
113113``` bash
114- java -jar onebusaway-api-key-cli-2.7.0 -withAllDependencies.jar create \
114+ java -jar onebusaway-api-key-cli-2.7.1 -withAllDependencies.jar create \
115115 --config /path/to/data-sources.xml \
116116 --name " Admin User" \
117117 --email admin@example.com
@@ -120,15 +120,15 @@ java -jar onebusaway-api-key-cli-2.7.0-withAllDependencies.jar create \
120120Create a key with a specific value instead of auto-generated UUID:
121121
122122``` bash
123- java -jar onebusaway-api-key-cli-2.7.0 -withAllDependencies.jar create \
123+ java -jar onebusaway-api-key-cli-2.7.1 -withAllDependencies.jar create \
124124 --config /path/to/data-sources.xml \
125125 --key my-custom-api-key
126126```
127127
128128Create a key with all options:
129129
130130``` bash
131- java -jar onebusaway-api-key-cli-2.7.0 -withAllDependencies.jar create \
131+ java -jar onebusaway-api-key-cli-2.7.1 -withAllDependencies.jar create \
132132 --config /path/to/data-sources.xml \
133133 --key my-custom-api-key \
134134 --name " Jane Developer" \
@@ -143,7 +143,7 @@ java -jar onebusaway-api-key-cli-2.7.0-withAllDependencies.jar create \
143143List all API keys:
144144
145145``` bash
146- java -jar onebusaway-api-key-cli-2.7.0 -withAllDependencies.jar list \
146+ java -jar onebusaway-api-key-cli-2.7.1 -withAllDependencies.jar list \
147147 --config /path/to/data-sources.xml
148148```
149149
@@ -152,7 +152,7 @@ java -jar onebusaway-api-key-cli-2.7.0-withAllDependencies.jar list \
152152Get details for a specific key:
153153
154154``` bash
155- java -jar onebusaway-api-key-cli-2.7.0 -withAllDependencies.jar get \
155+ java -jar onebusaway-api-key-cli-2.7.1 -withAllDependencies.jar get \
156156 --config /path/to/data-sources.xml \
157157 --key my-custom-api-key
158158```
@@ -162,7 +162,7 @@ java -jar onebusaway-api-key-cli-2.7.0-withAllDependencies.jar get \
162162Update just the email for an existing key:
163163
164164``` bash
165- java -jar onebusaway-api-key-cli-2.7.0 -withAllDependencies.jar update \
165+ java -jar onebusaway-api-key-cli-2.7.1 -withAllDependencies.jar update \
166166 --config /path/to/data-sources.xml \
167167 --key my-custom-api-key \
168168 --email newemail@example.com
@@ -171,7 +171,7 @@ java -jar onebusaway-api-key-cli-2.7.0-withAllDependencies.jar update \
171171Update the rate limit for an existing key:
172172
173173``` bash
174- java -jar onebusaway-api-key-cli-2.7.0 -withAllDependencies.jar update \
174+ java -jar onebusaway-api-key-cli-2.7.1 -withAllDependencies.jar update \
175175 --config /path/to/data-sources.xml \
176176 --key my-custom-api-key \
177177 --minApiReqInt 200
@@ -180,7 +180,7 @@ java -jar onebusaway-api-key-cli-2.7.0-withAllDependencies.jar update \
180180Update all fields for an existing key:
181181
182182``` bash
183- java -jar onebusaway-api-key-cli-2.7.0 -withAllDependencies.jar update \
183+ java -jar onebusaway-api-key-cli-2.7.1 -withAllDependencies.jar update \
184184 --config /path/to/data-sources.xml \
185185 --key my-custom-api-key \
186186 --name " John Smith" \
@@ -195,7 +195,7 @@ java -jar onebusaway-api-key-cli-2.7.0-withAllDependencies.jar update \
195195Delete an API key:
196196
197197``` bash
198- java -jar onebusaway-api-key-cli-2.7.0 -withAllDependencies.jar delete \
198+ java -jar onebusaway-api-key-cli-2.7.1 -withAllDependencies.jar delete \
199199 --config /path/to/data-sources.xml \
200200 --key my-custom-api-key
201201```
@@ -205,7 +205,7 @@ java -jar onebusaway-api-key-cli-2.7.0-withAllDependencies.jar delete \
205205Show general help:
206206
207207``` bash
208- java -jar onebusaway-api-key-cli-2.7.0 -withAllDependencies.jar help
208+ java -jar onebusaway-api-key-cli-2.7.1 -withAllDependencies.jar help
209209```
210210
211211### JSON Output
@@ -215,7 +215,7 @@ All commands support the `--json` flag for machine-readable output. This is usef
215215List keys in JSON format:
216216
217217``` bash
218- java -jar onebusaway-api-key-cli-2.7.0 -withAllDependencies.jar list \
218+ java -jar onebusaway-api-key-cli-2.7.1 -withAllDependencies.jar list \
219219 --config /path/to/data-sources.xml \
220220 --json
221221```
@@ -231,7 +231,7 @@ Output:
231231Get key details in JSON format:
232232
233233``` bash
234- java -jar onebusaway-api-key-cli-2.7.0 -withAllDependencies.jar get \
234+ java -jar onebusaway-api-key-cli-2.7.1 -withAllDependencies.jar get \
235235 --config /path/to/data-sources.xml \
236236 --key my-api-key \
237237 --json
@@ -252,7 +252,7 @@ Output:
252252Create a key with JSON output:
253253
254254``` bash
255- java -jar onebusaway-api-key-cli-2.7.0 -withAllDependencies.jar create \
255+ java -jar onebusaway-api-key-cli-2.7.1 -withAllDependencies.jar create \
256256 --config /path/to/data-sources.xml \
257257 --key new-key \
258258 --email dev@example.com \
@@ -276,7 +276,7 @@ Output:
276276Delete a key with JSON output:
277277
278278``` bash
279- java -jar onebusaway-api-key-cli-2.7.0 -withAllDependencies.jar delete \
279+ java -jar onebusaway-api-key-cli-2.7.1 -withAllDependencies.jar delete \
280280 --config /path/to/data-sources.xml \
281281 --key old-key \
282282 --json
0 commit comments