Sha256: 86f0b61fff14462356a30ef0b03e96df53095ab3cc27b06740a492a6a92ab482

Contents?: true

Size: 1.57 KB

Versions: 1

Compression:

Stored size: 1.57 KB

Contents

@announce
Feature: Help
  
  The `relish help` command displays all available commands
  along with a description of each.
  
  The `relish help:<command>` option will display help text
  for that particular command.
  
  Scenario: View all available commands with the help command
    When I successfully run "relish help"
    Then the output should contain exactly:
      """
      === Available Commands

      help                                                  # show this usage
      config                                                # display the contents of your options file
      config:show                                           # display the contents of your options file
      config:add --<option> <value>                         # add a configuration option to your options file
      projects                                              # list your projects
      projects:list                                         # list your projects
      projects:add <org_or_user_handle>/<project_handle>    # add a project
      projects:remove <org_or_user_handle>/<project_handle> # remove a project
      push                                                  # push features to relishapp.com
      
      """
      
  Scenario: Specifying no command runs the help command
    When I successfully run "relish"
    Then the output should contain "=== Available Commands"
    
  Scenario: Specifying an unknown command gives an error message
    When I run "relish baloney"
    Then it should fail with:
      """
      Unknown command. Run 'relish help' for usage information.
      """

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
relish-0.0.9 features/help.feature