producer-core/features/cli_usage.feature
2014-10-12 23:45:01 +00:00

17 lines
508 B
Gherkin

Feature: CLI usage
@exec
Scenario: prints the usage when an argument is missing
When I run `producer`
Then the exit status must be 64
And the output must contain exactly:
"""
Usage: producer [options] [recipes]
options:
-v, --verbose enable verbose mode
-d, --debug enable debug mode
-n, --dry-run enable dry run mode
-t, --target HOST target host
"""