Forked from hoppscotch-cli-docker, it introduce some small updates to allow use as CLI with alias
905
docker run --rm -t --network host \
-v $(pwd):/usr/app \
garyascuy/hoppscotch-cli:latest \
test --env ./Hoppscotch.env.json ./ApiTestInfo.collection.json
Add alias into profile (.zshrc, .zsh_profile, .shrc, .profile):
alias hopp="docker run --rm -t --network host -v $(pwd):/usr/app garyascuy/hoppscotch-cli:latest"
Now you can execute using the following command:
hopp test --env ./Hoppscotch.env.json ./ApiTestInfo.collection.json
Or to review the options
hopp --help
Content type
Image
Digest
sha256:1868db306…
Size
49.8 MB
Last updated
over 1 year ago
docker pull garyascuy/hoppscotch-cli