Sha256: d7d3d3d0e7db7079c868cfdb6c37d00e9895f1a830bc4346d9e0761d5499c372

Contents?: true

Size: 743 Bytes

Versions: 10

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

10 entries across 10 versions & 1 rubygems

Version Path
solusvm-1.4.0 lib/solusvm/cli.rb
solusvm-1.3.1 lib/solusvm/cli.rb
solusvm-1.3.0 lib/solusvm/cli.rb
solusvm-1.2.1 lib/solusvm/cli.rb
solusvm-1.2.0 lib/solusvm/cli.rb
solusvm-1.1.0.beta2 lib/solusvm/cli.rb
solusvm-1.1.0.beta1 lib/solusvm/cli.rb
solusvm-1.0.0.beta3 lib/solusvm/cli.rb
solusvm-1.0.0.beta2 lib/solusvm/cli.rb
solusvm-1.0.0.beta lib/solusvm/cli.rb