rest-client

command module
v0.0.0-...-091ba8a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

README

rest-client

The rest-client application is a command-line interface application that is capable of executing JetBrains REST client *.http or *.rest request files against multiple environments defined in rest-client.env.json environment files.

Installation

go get github.com/mojochao/rest-client

Usage

The envs command lists environments in the environment file.

$ rest-client [-e ENV] [-p PATH...] envs  

The reqs command lists requests defined in request files.

$ rest-client [-e ENV] [-p PATH...] reqs

The exec command executes requests defined in request files with an environment defined in an environment file.

$ rest-client [-e ENV] [-p PATH...] exec [REQUESTS...] 

If -e option is not provided, defaults to rest-client.end.json file in the current working directory.

The -p option provides file or directory paths to process. If not provided, defaults to all *.http files in the current working directory.

The REQUESTS args provides one or more request names to execute.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package identity provides build identity data set at compile time by govvv.
Package identity provides build identity data set at compile time by govvv.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL