Sign inSign up

garyascuy/hoppscotch-cli

By garyascuy

•Updated over 1 year ago

Forked from hoppscotch-cli-docker, it introduce some small updates to allow use as CLI with alias

Image
Developer tools
Monitoring & observability
1

905

garyascuy/hoppscotch-cli repository overview

⁠Hoppscotch CLI

⁠Usage
docker run --rm -t --network host \
    -v $(pwd):/usr/app \
    garyascuy/hoppscotch-cli:latest \
    test --env ./Hoppscotch.env.json ./ApiTestInfo.collection.json
⁠Usage Trick - "Install" Command

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
⁠References
⁠Thanks
  • Forked from @shawnsarwar/hoppscotch-cli-docker

Tag summary

Content type

Image

Digest

sha256:1868db306…

Size

49.8 MB

Last updated

over 1 year ago

docker pull garyascuy/hoppscotch-cli