Implement CLI usage feature

This commit is contained in:
Thibault Jouan
2013-07-26 20:12:55 +00:00
parent 46f992fdb2
commit a6cfd4d7cb
5 changed files with 76 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
Feature: CLI usage
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 host recipe_file
"""