Sha256: 6cef02f399373170df2ecb5c2f1def95adaab2eb7fbe4aaaa47cc56baf085bf1

Contents?: true

Size: 985 Bytes

Versions: 6

Compression:

Stored size: 985 Bytes

Contents

# -*- encoding: utf-8 -*-
#
# Author:: Fletcher Nichol (<fnichol@nichol.ca>)
#
# Copyright (C) 2013, Fletcher Nichol
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

require 'busser/thor'

module Busser

  module Command

    # Suite path command.
    #
    # @author Fletcher Nichol <fnichol@nichol.ca>
    #
    class SuitePath < Busser::Thor::BaseGroup

      argument :suite_name, :required => false

      def path
        say suite_path(suite_name).to_s
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
busser-0.8.0 lib/busser/command/suite_path.rb
busser-0.7.1 lib/busser/command/suite_path.rb
busser-0.7.0 lib/busser/command/suite_path.rb
busser-0.7.0.rc.1 lib/busser/command/suite_path.rb
busser-0.6.2 lib/busser/command/suite_path.rb
busser-0.6.1 lib/busser/command/suite_path.rb