Skip to content

Commit 513566c

Browse files
committed
CLI: add missing --routes-without-agency-id option πŸ›βœ…
1 parent 9d89b5c commit 513566c

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

β€Žcli.jsβ€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ const {
3535
'trips-without-shape-id': {
3636
type: 'boolean',
3737
},
38+
'routes-without-agency-id': {
39+
type: 'boolean',
40+
},
3841
'stops-without-level-id': {
3942
type: 'boolean',
4043
},

β€Žtest/index.shβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ psql -t -c 'SELECT version()'
1111
./sample-gtfs-feed.sh
1212
./amtrak-gtfs-2021-10-06.sh
1313
./postgraphile.sh
14+
./routes-without-agency-id.sh
1415

1516
echo -e "\n\nβœ”οΈŽ tests passing"
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
3+
set -e
4+
set -o pipefail
5+
cd "$(dirname $0)"
6+
set -x
7+
8+
../cli.js -d --routes-without-agency-id -- \
9+
../node_modules/sample-gtfs-feed/gtfs/*.txt \
10+
>/dev/null
11+
12+
echo 'works βœ”'

0 commit comments

Comments
Β (0)