pwcli

command module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2020 License: MIT Imports: 6 Imported by: 0

README

PostWoman CLI Build StatusPostwoman

Use Postwoman's CLI direct from your terminal.

Installation

From Source
  • Clone the repo
  • Build using go build
  • Move Binary to /usr/local/bin/
From Binary
  • You can find the Binaries in Gzipped form from the Releases page
    Supports
  • Linux(x64,x86)
  • Mac(x64)
  • Windows(x64,x86)
Homebrew

Install by brew install athul/tap/pwcli

IMPORTANT: Not tested on Windows, please leave your feedback/bugs in the Issues section

Usages

NAME:
   Postwoman CLI - Test API endpoints without the hassle

USAGE:
   cli [global options] command [command options] [arguments...]

VERSION:
   0.0.1

DESCRIPTION:
   Made with <3 by Postwoman Team

COMMANDS:
   get      Send a GET request
   post     Send a POST Request
   put      Send a PUT Request
   patch    Send a PATCH Request
   delete   Send a DELETE Request
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

GET

Usage

NAME:
   cli get - Send a GET request

USAGE:
   cli get [command options] [arguments...]

OPTIONS:
   --url value    The URL/Endpoint you want to check (default: "https://reqres.in/api/users")
   --token value  Send the Request with Bearer Token
   -u value       Add the Username
   -p value       Add the Password

POST

Usage

NAME:
   cli post - Send a POST Request

USAGE:
   cli post [command options] [arguments...]

OPTIONS:
   --url value    The URL/Endpoint you want to check (default: "https://reqres.in/api/users")
   --token value  Send the Request with Bearer Token
   -u value       Add the Username
   -p value       Add the Password
   --ctype value  Change the Content Type (default: "application/json")
   --body value   Body of the Post Request

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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