Sha256: e06690df5d71dacdc5924d0c7c67265da8d1dcf80f3ddaf9bd7706dcacdc6aaa

Contents?: true

Size: 782 Bytes

Versions: 2

Compression:

Stored size: 782 Bytes

Contents

@search
Feature: Github API Commands Search

  As a developer who wants to search for commands that leverage GitHub APIs
  When I use interface provided by GHC
  I have ability to list commands by search criteria

  Scenario: Listing
    When I run `ghc list`
    Then the exit status should be 0
    And the output should contain:
    """
    GitHub API v3 CLI client

    Commands:
    """

  Scenario Outline: Pattern Matching
    When I run `ghc list <pattern>`
    Then the output should contain "repo"
    And the output should not contain "issue"

    Examples:
      | pattern |
      | re      |
      | repo    |

  Scenario: No Match
    When I run `ghc list bla`
    Then the output should contain:
    """
    ghc: 'bla' is not a ghc command. See 'ghc --help'.
    """

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
github_cli-0.4.4 features/search_commands.feature
github_cli-0.4.3 features/search_commands.feature