Sha256: b9b6b96385afb98b2f46c35ca7ebaa45a503c8cb984c473b4691a417b2ede5fd

Contents?: true

Size: 1.7 KB

Versions: 54

Compression:

Stored size: 1.7 KB

Contents

Feature: displaying help text in the command-line interface

  As a user
  I want to see the available commands and options right on CLI
  So that I don't have to browse the documentation on the web

  @starts-new-os-process
  Scenario: User wants to know what he can do with s3_website
    When I run `s3_website`
    Then the output should contain:
      """
      Commands:
        s3_website cfg SUBCOMMAND ...ARGS  # Operate on the config file
        s3_website help [COMMAND]          # Describe available commands or one spe...
        s3_website push                    # Push local files with the S3 website
      """

  @starts-new-os-process
  Scenario: User wants to know what the push command does
    When I run `s3_website help push`
    Then the output should contain:
      """
      Usage:
        s3_website push
      """

  @starts-new-os-process
  Scenario: User wants to know what the cfg command does
    When I run `s3_website cfg`
    Then the output should contain:
      """
      Commands:
        s3_website cfg apply           # Apply the configuration on the AWS services
        s3_website cfg create          # Create a config file with placeholder values
        s3_website cfg help [COMMAND]  # Describe subcommands or one specific subco...
      """

  @starts-new-os-process
  Scenario: User wants to know what the cfg apply command does
    When I run `s3_website cfg help apply`
    Then the output should contain:
      """
      Usage:
        s3_website apply
      """

  @starts-new-os-process
  Scenario: User wants to know what the cfg create command does
    When I run `s3_website cfg help create`
    Then the output should contain:
      """
      Usage:
        s3_website create
      """

Version data entries

54 entries across 54 versions & 2 rubygems

Version Path
s3_website-1.8.2 features/command-line-help.feature
s3_website-1.8.1 features/command-line-help.feature
s3_website-1.8.0 features/command-line-help.feature
s3_website_monadic-0.0.15 features/command-line-help.feature
s3_website_monadic-0.0.14 features/command-line-help.feature
s3_website_monadic-0.0.13 features/command-line-help.feature
s3_website_monadic-0.0.12 features/command-line-help.feature
s3_website_monadic-0.0.11 features/command-line-help.feature
s3_website_monadic-0.0.9 features/command-line-help.feature
s3_website_monadic-0.0.8 features/command-line-help.feature
s3_website_monadic-0.0.7 features/command-line-help.feature
s3_website_monadic-0.0.6 features/command-line-help.feature
s3_website_monadic-0.0.5 features/command-line-help.feature
s3_website-1.7.6 features/command-line-help.feature
s3_website_monadic-0.0.4 features/command-line-help.feature
s3_website_monadic-0.0.3 features/command-line-help.feature
s3_website-1.7.5 features/command-line-help.feature
s3_website_monadic-0.0.2 features/command-line-help.feature
s3_website_monadic-0.0.1 features/command-line-help.feature
s3_website-1.7.4 features/command-line-help.feature