Sha256: ff8f4866753af5e4f4a7684c752d7560a02ec5cb1ce16a98710171af2f9ad0fd

Contents?: true

Size: 601 Bytes

Versions: 1

Compression:

Stored size: 601 Bytes

Contents

# frozen_string_literal: true

module UppityRobot
  module CLI
    # UppityRobot::CLI::Commands Registry
    module Commands
      extend Dry::CLI::Registry

      register "exec", Exec, aliases: ["e"]
      register "version", Version, aliases: ["v", "-v", "--version"]

      register "monitors", aliases: ["m"] do |prefix|
        prefix.register "create", Monitors::Create
        prefix.register "delete", Monitors::Delete
        prefix.register "exec", Monitors::Exec
        prefix.register "list", Monitors::List
        prefix.register "update", Monitors::Update
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
uppityrobot-0.4.1 lib/uppityrobot/cli/commands/registry.rb