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

Use compact --help #861

Closed
jcamiel opened this issue Sep 30, 2022 · 0 comments · Fixed by #865
Closed

Use compact --help #861

jcamiel opened this issue Sep 30, 2022 · 0 comments · Fixed by #865
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jcamiel
Copy link
Collaborator

jcamiel commented Sep 30, 2022

On current version --help displays an option and it helps description on two lines.
We could benefit for having a more compact help.

Run hurl FILE(s) or standard input

Usage: hurl [OPTIONS] [INPUT]...

Arguments:
  [INPUT]...  Sets the input file to use

Options:
      --cacert <FILE>
          CA certificate to verify peer against (PEM format)
      --color
          Colorize Output
      --compressed
          Request compressed response (using deflate or gzip)
      --connect-timeout <SECONDS>
          Maximum time allowed for connection
  -b, --cookie <FILE>
          Read cookies from FILE
  -c, --cookie-jar <FILE>
          Write cookies to FILE after running the session (only for one session)
      --fail-at-end
          Fail at end
      --file-root <DIR>
          set root filesystem to import file in hurl (default is current directory)
  -L, --location
          Follow redirects
      --glob <GLOB>
          Specify input files that match the given blob. Multiple glob flags may be used.
  -i, --include
          Include the HTTP headers in the output
      --ignore-asserts
          Ignore asserts defined in the Hurl file.
  -k, --insecure
          Allow insecure SSL connections
      --interactive
          Turn on interactive mode
      --json
          Output each hurl file result to JSON
      --max-redirs <NUM>
          Maximum number of redirects allowed
  -m, --max-time <NUM>
          Maximum time allowed for the transfer
      --no-color
          Do not colorize Output
      --no-output
          Suppress output. By default, Hurl outputs the body of the last response.
      --noproxy <HOST(S)>
          List of hosts which do not use proxy
  -o, --output <FILE>
          Write to FILE instead of stdout
  -x, --proxy <[PROTOCOL://]HOST[:PORT]>
          Use proxy on given protocol/host/port
      --report-junit <FILE>
          Write a Junit XML report to the given file
      --report-html <DIR>
          Generate html report to dir
      --test
          Activate test mode.
      --to-entry <ENTRY_NUMBER>
          Execute hurl file to ENTRY_NUMBER (starting at 1)
  -u, --user <user:password>
          Add basic Authentication header to each request.
  -A, --user-agent <name>
          Specify the User-Agent string to send to the HTTP server.
      --variable <NAME=VALUE>
          Define a variable
      --variables-file <FILE>
          Define a properties file in which you define your variables
  -v, --verbose
          Turn on verbose output
      --very-verbose
          Turn on verbose output, uncluding HTTP response
  -h, --help
          Print help information
  -V, --version
          Print version information
@jcamiel jcamiel added the enhancement New feature or request label Sep 30, 2022
@jcamiel jcamiel added this to the 1.8.0 milestone Sep 30, 2022
@jcamiel jcamiel self-assigned this Sep 30, 2022
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 a pull request may close this issue.

1 participant