Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add danielgtaylor/restish #10469

Merged

Conversation

CrystalMethod
Copy link
Contributor

danielgtaylor/restish: Restish is a CLI for interacting with REST-ish HTTP APIs with some nice features built-in

$ aqua g -i danielgtaylor/restish

How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well. Please confirm if this package works well yourself as much as possible.

Command and output

$ restish --help

  A generic client for REST-ish APIs https://rest.sh/



Usage:
  restish [flags]
  restish [command]

Examples:
  # Get a URI
  $ restish google.com

  # Specify verb, header, and body shorthand
  $ restish post :8888/users -H authorization:abc123 name: Kari, role: admin

Available API Commands:

Generic Commands:
  api         API management commands
  auth-header Get an auth header for a given API
  bulk        Client-side bulk resource management https://rest.sh/#/bulk
  cert        Get cert info
  delete      Delete a URI
  edit        Edit a resource by URI
  get         Get a URI
  head        Head a URI
  links       Get link relations from the given URI, with optional filtering
  options     Options a URI
  patch       Patch a URI
  post        Post a URI
  put         Put a URI

Additional Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command

Flags:
  -h, --help                       help for restish
      --rsh-ca-cert string         Path to a PEM encoded CA cert
      --rsh-client-cert string     Path to a PEM encoded client certificate
      --rsh-client-key string      Path to a PEM encoded private key
  -f, --rsh-filter string          Filter / project results using shorthand query
  -H, --rsh-header stringArray     Add custom header
      --rsh-ignore-status-code     Do not set exit code from HTTP status code
      --rsh-insecure               Disable SSL verification
      --rsh-no-cache               Disable HTTP cache
      --rsh-no-paginate            Disable auto-pagination
  -o, --rsh-output-format string   Output format [auto, json, table, ...] (default "auto")
  -p, --rsh-profile string         API auth profile (default "default")
  -q, --rsh-query stringArray      Add custom query param
  -r, --rsh-raw                    Output result of query as raw rather than an escaped JSON string or list
  -s, --rsh-server string          Override scheme://server:port for an API
  -v, --rsh-verbose                Enable verbose log output
      --version                    version for restish

Use "restish [command] --help" for more information about a command.

[danielgtaylor/restish](https://github.com/danielgtaylor/restish): Restish is a CLI for interacting with REST-ish HTTP APIs with some nice features built-in

```console
$ aqua g -i danielgtaylor/restish
```

## How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.

Command and output

```console
$
```

If files such as configuration file are needed, please share them.

```
```

Reference

-
@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Mar 6, 2023
@suzuki-shunsuke suzuki-shunsuke added this to the v3.141.0 milestone Mar 6, 2023
@suzuki-shunsuke
Copy link
Member

Thanks!

@suzuki-shunsuke suzuki-shunsuke merged commit 9ddbc19 into aquaproj:main Mar 7, 2023
@suzuki-shunsuke
Copy link
Member

@CrystalMethod CrystalMethod deleted the feat/danielgtaylor/restish branch March 9, 2023 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants