Sha256: 163307fd1d4588be09e5a8d8aa0e27b211c3f4129df7281131e0acab4fa1279c

Contents?: true

Size: 743 Bytes

Versions: 6

Compression:

Stored size: 743 Bytes

Contents

require 'solusvm'
require 'solusvm/cli/base_cli'
require 'solusvm/cli/server_cli'
require 'solusvm/cli/node_cli'
require 'solusvm/cli/general_cli'
require 'solusvm/cli/reseller_cli'
require 'solusvm/cli/client_cli'

module SolusVM
  class CLI < Thor
    register(ServerCLI,  'server', 'server <command>', 'Server commands')
    register(NodeCLI,    'node', 'node <command>', 'Node commands')
    register(GeneralCLI, 'general', 'general <command>', 'General commands')
    register(ResellerCLI, 'reseller', 'reseller <command>', 'Reseller commands')
    register(ClientCLI, 'client', 'client <command>', 'Client commands')

    desc "version", "Outputs the current program version"
    def version
      say SolusVM::VERSION
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
solusvm-2.0.1.beta6 lib/solusvm/cli.rb
solusvm-2.0.0.beta6 lib/solusvm/cli.rb
solusvm-2.0.0.beta5 lib/solusvm/cli.rb
solusvm-2.0.0.beta4 lib/solusvm/cli.rb
solusvm-2.0.0.beta2 lib/solusvm/cli.rb
solusvm-2.0.0.beta1 lib/solusvm/cli.rb