Sha256: 7ac88e6b455fc90e1e0a066678c84ccba6bf58d2ee114631d4e70fe3850ba2b2

Contents?: true

Size: 523 Bytes

Versions: 8

Compression:

Stored size: 523 Bytes

Contents

require 'ios/iosOption'

require 'thor'

module App

  GEM_NAME = "shellboxCLI".freeze

  # @return [String] The path to the local gem directory
  def self.gem_path
    if Gem::Specification.find_all_by_name(GEM_NAME).empty?
      raise "Couldn't find gem directory for '#{GEM_NAME}'"
    end
    return Gem::Specification.find_by_name(GEM_NAME).gem_dir
  end

  class ShellboxCLI < Thor

    def self.exit_on_failure?
      true
    end

    desc "ios", "scripts for ios platform"
    subcommand "ios", IOS_CLI

  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
shellboxCLI-0.1.8 lib/ShellboxCLI.rb
shellboxCLI-0.1.7 lib/ShellboxCLI.rb
shellboxCLI-0.1.6 lib/ShellboxCLI.rb
shellboxCLI-0.1.4 lib/ShellboxCLI.rb
shellboxCLI-0.1.3 lib/ShellboxCLI.rb
shellboxCLI-0.1.2 lib/ShellboxCLI.rb
shellboxCLI-0.1.1 lib/ShellboxCLI.rb
shellboxCLI-0.1.0 lib/ShellboxCLI.rb