Sha256: 5463939883dce642965fdf49b457e9aab87a8049efd1a04d43aaaccc39b70d84

Contents?: true

Size: 1.4 KB

Versions: 2

Compression:

Stored size: 1.4 KB

Contents

require 'smart_machine/commands/grid_commands/sub_thor'
require 'smart_machine/commands/grid_commands/elasticsearch'
require 'smart_machine/commands/grid_commands/minio'
require 'smart_machine/commands/grid_commands/mysql'
require 'smart_machine/commands/grid_commands/nextcloud'
require 'smart_machine/commands/grid_commands/nginx'
require 'smart_machine/commands/grid_commands/prereceiver'
require 'smart_machine/commands/grid_commands/redis'
require 'smart_machine/commands/grid_commands/terminal'

module SmartMachine
  module Commands
    class Grid < Thor
      include Utilities

      desc "elasticsearch", "Run elasticsearch grid commands"
      subcommand "elasticsearch", GridCommands::Elasticsearch

      desc "minio", "Run minio grid commands"
      subcommand "minio", GridCommands::Minio

      desc "mysql", "Run mysql grid commands"
      subcommand "mysql", GridCommands::Mysql

      desc "nextcloud", "Run nextcloud grid commands"
      subcommand "nextcloud", GridCommands::Nextcloud

      desc "nginx", "Run nginx grid commands"
      subcommand "nginx", GridCommands::Nginx

      desc "prereceiver", "Run prereceiver grid commands"
      subcommand "prereceiver", GridCommands::Prereceiver

      desc "redis", "Run redis grid commands"
      subcommand "redis", GridCommands::Redis

      desc "terminal", "Run terminal grid commands"
      subcommand "terminal", GridCommands::Terminal
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
smartmachine-1.1.1 lib/smart_machine/commands/grid.rb
smartmachine-1.1.0 lib/smart_machine/commands/grid.rb