Module: Waves::CLI

Defined in:
lib/waves/cli.rb,
lib/waves/cli/app.rb,
lib/waves/cli/formatter.rb

Defined Under Namespace

Classes: App, CommandError, Formatter

Class Method Summary collapse

Class Method Details

.start(argv, stdin: $stdin, stdout: $stdout, stderr: $stderr, env: ENV, config: Waves::Config, client_class: Waves::Client) ⇒ Object



10
11
12
13
14
15
16
17
18
19
20
# File 'lib/waves/cli.rb', line 10

def start(argv, stdin: $stdin, stdout: $stdout, stderr: $stderr, env: ENV, config: Waves::Config, client_class: Waves::Client)
  App.new(
    argv: argv,
    stdin: stdin,
    stdout: stdout,
    stderr: stderr,
    env: env,
    config: config,
    client_class: client_class
  ).start
end