mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2025-01-05 19:15:41 +03:00
.. | ||
hurl | ||
README.md |
Command Line Options
Hurl command line options are described with .option
files. These files are used to generate:
- Rust code to parse this options in
hurl
/hurlfmt
packages - Man options
Format all option files
$ bin/spec/options/format.py docs/spec/options/**/*.option
This script insures that all .option
files are well formatted.
Generate/Update clap command source file
$ bin/spec/options/generate_source.py docs/spec/options/hurl/*.option > packages/hurl/src/cli/options/commands.rs
This script generates Rust source file for parsing command line option.
Generate/Update man options
$ bin/spec/options/generate_man.py docs/spec/options/hurl/*.option
This script generates (part of) man file for hurl
/ hurlfmt
.