1
0
mirror of https://github.com/peeringdb/peeringdb.git synced 2024-05-11 05:55:09 +00:00
Files
peeringdb-peeringdb/scripts/rdap_getasn.sh
Matt Griswold 5147028bee clean up / format / poetry (#1000)
* stub in poetry for pipenv

* re-add tester image

* add pre-commit / formatting

* fix ghactions

* revert test data whitespace, exclude tests/data

* revert ws

* decruft, rm tox/pipenv

* install dev packages for base image

* add lgtm config to force to py3
2021-07-10 10:12:35 -05:00

10 lines
176 B
Bash
Executable File

#!/bin/bash
handle=$1
if test -z "$handle"; then
echo usage $0 HANDLE
exit 1
fi
curl -L4 https://rdap.db.ripe.net/autnum/$handle > tests/data/rdap/autnum/${handle}.input