Sha256: 4d0bf9e68b8f8e7a77b32fd926d49bbbc0d444ed9332081d20e41ac385aad235

Contents?: true

Size: 693 Bytes

Versions: 2

Compression:

Stored size: 693 Bytes

Contents

require "thor"
module SwissAdmin
  class CLI < Thor
    desc "host SUBCOMMAND", "Returns information about the host"
    subcommand "host", SwissAdmin::Commands::Host

    desc "hardware SUBCOMMAND", "Returns information about host hardware"
    subcommand "hardware", SwissAdmin::Commands::Hardware
    
    desc "network SUBCOMMAND", "Returns information about host network"
    subcommand "network", SwissAdmin::Commands::Network

    desc "user SUBCOMMAND", "Returns information about user(s) on host"
    subcommand "user", SwissAdmin::Commands::User

    desc "web SUBCOMMAND", "A basic web ui with all of the hosts information"
    subcommand "web", SwissAdmin::Commands::Web
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
swiss_admin-0.7.0 lib/swiss_admin/cli/cli.rb
swiss_admin-0.6.1 lib/swiss_admin/cli/cli.rb