0.1.1 • Published 4 years ago
hoppscotch-cli-test v0.1.1
Preview of the CLI:
Commands Available:
Usage: hopp-cli [options or commands] arguments
Options:
-v, --ver see the current version of the CLI
-c, --config <file> path to a Hoppscotch collection.json file for CI testing
-h, --help display help for command
Commands:
test interactive Hoppscotch testing through CLICommand Descriptions:
hopp-cli -v/hopp-cli --ver- Prints out the current version of the Hoppscotch CLI
hopp-cli -c <config>/hopp-cli --config <config>- Takes an absolute path of the Hoppscotch config JSON
- Parses the collection JSON and executes each requests
- Outputs the response of each request
- (FUTURE SCOPE): Execute the pre-request and post-request scripts on each request
hopp-cli -h/hopp-cli --help- Displays the help text
hopp-cli test- Interactive CLI to accept Hoppscotch collection JSON path
- Parses the collection JSON and executes each requests
- Outputs the response of each request
- (FUTURE SCOPE): Execute the pre-request and post-request scripts on each request
Installation:
- Clone the repository
pnpm installcd packages/hoppscotch-clipnpm run buildsudo pnpm link --global- Test the installation by executing
hopp-cli
Contributing:
To get started contributing to the repository, please read CONTRIBUTING.md
0.1.1
4 years ago