Class: Gemstash::CLI::Base

Inherits:
Object
  • Object
show all
Includes:
Env::Helper
Defined in:
lib/gemstash/cli/base.rb

Overview

Base class for common functionality for CLI tasks.

Direct Known Subclasses

Authorize, Setup, Start, Status, Stop

Instance Method Summary collapse

Constructor Details

#initialize(cli, *args) ⇒ Base

Returns a new instance of Base.



9
10
11
12
13
# File 'lib/gemstash/cli/base.rb', line 9

def initialize(cli, *args)
  Gemstash::Env.current = Gemstash::Env.new
  @cli = cli
  @args = args
end