@smoke
Feature: help for commands

  Scenario Outline: known commands
    When I run "git-town help <COMMAND>"
    Then it prints:
      """
      Usage:
        git-town <COMMAND>
      """

    Examples:
      | COMMAND       |
      | append        |
      | completions   |
      | config        |
      | diff-parent   |
      | hack          |
      | help          |
      | kill          |
      | offline       |
      | prepend       |
      | propose       |
      | rename-branch |
      | repo          |
      | set-parent    |
      | ship          |
      | sync          |

  Scenario Outline: outside a Git repository
    Given I am outside a Git repo
    When I run "<COMMAND>"
    Then it prints:
      """
      Usage:
        git-town [flags]
        git-town [command]
      """
    And it does not print "fatal: Not a Git repository"

    Examples:
      | COMMAND       |
      | git-town      |
      | git-town help |
