mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-10 14:24:40 +03:00
Add Test integ for hurlfmt help
This commit is contained in:
parent
bbc8f0f4d5
commit
83fc9d2f0d
19
integration/hurlfmt/tests_ok/help.out.pattern
Normal file
19
integration/hurlfmt/tests_ok/help.out.pattern
Normal file
@ -0,0 +1,19 @@
|
||||
Format Hurl files
|
||||
|
||||
Usage: hurlfmt [OPTIONS] [FILES]...
|
||||
|
||||
Arguments:
|
||||
[FILES]... Sets the input file to use
|
||||
|
||||
Options:
|
||||
--check Run in 'check' mode
|
||||
--color Colorize Output
|
||||
--format <FORMAT> Specify output format: hurl, json or html (DEPRECATED) [default: hurl]
|
||||
--in-place Modify file in place
|
||||
--in <FORMAT> Specify input format: hurl or curl [default: hurl]
|
||||
--no-color Do not colorize output
|
||||
-o, --output <FILE> Write to FILE instead of stdout
|
||||
--out <FORMAT> Specify output format: hurl, json or html [default: hurl]
|
||||
--standalone Standalone HTML
|
||||
-h, --help Print help
|
||||
-V, --version Print version
|
3
integration/hurlfmt/tests_ok/help.ps1
Normal file
3
integration/hurlfmt/tests_ok/help.ps1
Normal file
@ -0,0 +1,3 @@
|
||||
Set-StrictMode -Version latest
|
||||
$ErrorActionPreference = 'Stop'
|
||||
hurl --help
|
4
integration/hurlfmt/tests_ok/help.sh
Executable file
4
integration/hurlfmt/tests_ok/help.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
set -Eeuo pipefail
|
||||
# In CI, --help is wrapped on a 120 columns wide terminal.
|
||||
hurlfmt --help
|
Loading…
Reference in New Issue
Block a user