Sha256: 44fefcf3ebfdea4214dc4d85f81fedb81b582237592724123923267e41b2578c
Contents?: true
Size: 901 Bytes
Versions: 8
Compression:
Stored size: 901 Bytes
Contents
# frozen_string_literal: true require 'thor' require 'whatup/cli/commands/client' require 'whatup/cli/commands/server' module Whatup # Thor command classes for the cli. # For usage, see <http://whatisthor.com/> module CLI # Top-level command class class CLI < Thor desc 'hello', 'Says hello' def hello say "Hello!\n", :cyan end # Subcommands are defined below, but are implemented in `commands/` desc 'server ...', 'Perform server commands' long_desc <<~DESC Perform server commands. See `whatup server help COMMAND` for help on `COMMAND`. DESC subcommand 'server', Server desc 'client ...', 'Perform client commands' long_desc <<~DESC Perform client commands. See `whatup client help COMMAND` for help on `COMMAND`. DESC subcommand 'client', Client end end end
Version data entries
8 entries across 8 versions & 1 rubygems