[More Detail] [Collapse All]
Feature: Getting help

  Commands:
  - (default outputs version number)
  - help
  - example help
features/001-help/getting-help.feature
- Scenario: Print out version number
link


Run `builder.rb` return version number
features/001-help/getting-help.feature:9
When I run `sbuilder.rb`
Then the exit status should be 0
And the output should match /^sbuilder.rb\s+-\s+[0-9]+\.[0-9]+\.[0-9]+/
- Scenario: Getting help
link

Running 'sbuilder help' outputs command help
features/001-help/getting-help.feature:19
When I run `sbuilder.rb help`
Then the exit status should be 0
And the output should match /sbuilder.rb generate/
And the output should match /sbuilder.rb init/
And the output should match /sbuilder.rb list setups/
- Scenario: Getting help for examples
link

Running 'sbuilder help example' outputs help for sbuilder examples
features/001-help/getting-help.feature:29
When I run `sbuilder.rb example help`
Then the exit status should be 0
And the output should match /sbuilder.rb example customer/
And the output should match /sbuilder.rb example pet/