Sha256: 9accffe9a5930e9914abc0328720d88136a008b33adad3d6bdfa27eeae777124

Contents?: true

Size: 802 Bytes

Versions: 2

Compression:

Stored size: 802 Bytes

Contents

module Slop

  # :file, :path, :log_level, :string, :array, :entity_type, :scenario

  class StringOption
    ZSH_TYPE = :power_stencil_do_nothing
  end

  class ArrayOption
    ZSH_TYPE = :power_stencil_do_nothing
  end

  class LogLevelOption < IntegerOption
    ZSH_TYPE = :power_stencil_log_level
  end

  class PathOption < StringOption
    ZSH_TYPE = :path_files
  end
  class FileOption < StringOption
    ZSH_TYPE = :files
  end

  class EntityOption < StringOption
    ZSH_TYPE = :power_stencil_entity
  end

  class EntityTYpeOption < StringOption
    ZSH_TYPE = :power_stencil_entity_type
  end

  class ScenarioOption < StringOption
    ZSH_TYPE = :power_stencil_scenario
  end

  class CompletionQueryTypeOption < StringOption
    ZSH_TYPE = :power_stencil_completion_query_type
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
power_stencil-0.8.1 lib/power_stencil/utils/slop_extra_option_types.rb
power_stencil-0.8.0 lib/power_stencil/utils/slop_extra_option_types.rb