@@ -25,21 +25,23 @@ You can quickly determine which is being used via `restish localhost -v 2>&1 | g
2525
2626The global options in addition to ` --help ` and ` --version ` are:
2727
28- | Argument | Env Var | Example | Description |
29- | --------------------------- | ------------------- | ------------------- | ------------------------------------------------------------------------------------------ |
30- | ` -f ` , ` --rsh-filter ` | ` RSH_FILTER ` | ` body.users[].id ` | Filter response via [ Shorthand query] ( https://github.com/danielgtaylor/shorthand#querying ) |
31- | ` -H ` , ` --rsh-header ` | ` RSH_HEADER ` | ` Version:2020-05 ` | Set a header name/value |
32- | ` --rsh-insecure ` | ` RSH_INSECURE ` | | Disable TLS certificate checks |
33- | ` --rsh-client-cert ` | ` RSH_CLIENT_CERT ` | ` /etc/ssl/cert.pem ` | Path to a PEM encoded client certificate |
34- | ` --rsh-client-key ` | ` RSH_CLIENT_KEY ` | ` /etc/ssl/key.pem ` | Path to a PEM encoded private key |
35- | ` --rsh-ca-cert ` | ` RSH_CA_CERT ` | ` /etc/ssl/ca.pem ` | Path to a PEM encoded CA certificate |
36- | ` --rsh-no-paginate ` | ` RSH_NO_PAGINATE ` | | Disable automatic ` next ` link pagination |
37- | ` -o ` , ` --rsh-output-format ` | ` RSH_OUTPUT_FORMAT ` | ` json ` | [ Output format] ( /output.md ) , defaults to ` auto ` |
38- | ` -p ` , ` --rsh-profile ` | ` RSH_PROFILE ` | ` testing ` | Auth profile name, defaults to ` default ` |
39- | ` -q ` , ` --rsh-query ` | ` RSH_QUERY ` | ` search=foo ` | Set a query parameter |
40- | ` -r ` , ` --rsh-raw ` | ` RSH_RAW ` | | Raw output for shell processing |
41- | ` -s ` , ` --rsh-server ` | ` RSH_SERVER ` | ` https://foo.com ` | Override API server base URL |
42- | ` -v ` , ` --rsh-verbose ` | ` RSH_VERBOSE ` | | Enable verbose output |
28+ | Argument | Env Var | Example | Description |
29+ | --------------------------- | ------------------- | --------------------------------------| ------------------------------------------------------------------------------------------ |
30+ | ` -f ` , ` --rsh-filter ` | ` RSH_FILTER ` | ` body.users[].id ` | Filter response via [ Shorthand query] ( https://github.com/danielgtaylor/shorthand#querying ) |
31+ | ` -H ` , ` --rsh-header ` | ` RSH_HEADER ` | ` Version:2020-05 ` | Set a header name/value |
32+ | ` --rsh-insecure ` | ` RSH_INSECURE ` | | Disable TLS certificate checks |
33+ | ` --rsh-client-cert ` | ` RSH_CLIENT_CERT ` | ` /etc/ssl/cert.pem ` | Path to a PEM encoded client certificate |
34+ | ` --rsh-client-key ` | ` RSH_CLIENT_KEY ` | ` /etc/ssl/key.pem ` | Path to a PEM encoded private key |
35+ | ` --rsh-ca-cert ` | ` RSH_CA_CERT ` | ` /etc/ssl/ca.pem ` | Path to a PEM encoded CA certificate |
36+ | ` --rsh-pkcs11-label ` | ` RSH_PKCS11_LABEL ` | | Label of the PKCS11 token |
37+ | ` --rsh-pkcs11-path ` | ` RSH_PKCS11_PATH ` | ` /usr/lib/pkcs11/opensc-pkcs11.so ` | Path to the PKCS11 library |
38+ | ` --rsh-no-paginate ` | ` RSH_NO_PAGINATE ` | | Disable automatic ` next ` link pagination |
39+ | ` -o ` , ` --rsh-output-format ` | ` RSH_OUTPUT_FORMAT ` | ` json ` | [ Output format] ( /output.md ) , defaults to ` auto ` |
40+ | ` -p ` , ` --rsh-profile ` | ` RSH_PROFILE ` | ` testing ` | Auth profile name, defaults to ` default ` |
41+ | ` -q ` , ` --rsh-query ` | ` RSH_QUERY ` | ` search=foo ` | Set a query parameter |
42+ | ` -r ` , ` --rsh-raw ` | ` RSH_RAW ` | | Raw output for shell processing |
43+ | ` -s ` , ` --rsh-server ` | ` RSH_SERVER ` | ` https://foo.com ` | Override API server base URL |
44+ | ` -v ` , ` --rsh-verbose ` | ` RSH_VERBOSE ` | | Enable verbose output |
4345
4446Configuration file keys are the same as long-form arguments without the ` -- ` prefix.
4547
0 commit comments