Sha256: 2aa3cab5a2fee366e4b2ec21087ac81a7a9b0b3005e35b9526ea6a406f340ceb

Contents?: true

Size: 415 Bytes

Versions: 81

Compression:

Stored size: 415 Bytes

Contents

Feature: Allow config.rb and extensions to add CLI commands

  Scenario: Command autoloaded from tasks/ directory
    Given an empty app
    And a file named "tasks/hello_task.rb" with:
      """
      class Hello < Thor
        desc "hello", "Say hello"
        def hello
          puts "Hello World"
        end
      end
      """
    When I run `middleman hello`
    Then the output should contain "Hello World"

Version data entries

81 entries across 81 versions & 3 rubygems

Version Path
middleman-core-3.4.1 features/3rd_party_cli.feature
middleman-core-3.4.0 features/3rd_party_cli.feature
middleman-core-3.3.12 features/3rd_party_cli.feature
middleman-core-3.3.11 features/3rd_party_cli.feature
middleman-core-3.3.10 features/3rd_party_cli.feature
middleman-core-3.3.9 features/3rd_party_cli.feature
middleman-core-3.3.8 features/3rd_party_cli.feature
middleman-core-4.0.0.alpha.5 features/3rd_party_cli.feature
middleman-core-4.0.0.alpha.4 features/3rd_party_cli.feature
middleman-core-4.0.0.alpha.3 features/3rd_party_cli.feature
middleman-core-3.3.7 features/3rd_party_cli.feature
middleman-core-3.3.6 features/3rd_party_cli.feature
middleman-core-4.0.0.alpha.2 features/3rd_party_cli.feature
middleman-core-3.3.5 features/3rd_party_cli.feature
middleman-core-cj-3.3.6 features/3rd_party_cli.feature
middleman-core-cj-3.3.5 features/3rd_party_cli.feature
middleman-core-cj-3.3.4 features/3rd_party_cli.feature
middleman-core-3.3.4 features/3rd_party_cli.feature
middleman-core-3.3.3 features/3rd_party_cli.feature
middleman-core-3.3.2 features/3rd_party_cli.feature