Class: Rockette::Commands::Config

Inherits:
Rockette::Command show all
Includes:
TextHelper
Defined in:
lib/rockette/commands/config.rb

Overview

Configure Rockette

Instance Method Summary collapse

Methods included from TextHelper

#bail, #check_input, #file_not_found, #no_rockette_dir, #padder

Methods inherited from Rockette::Command

#command, #cursor, #editor, #exec_exist?, #generator, #pager, #platform, #prompt, #screen, #which

Constructor Details

#initialize(options) ⇒ Config

Returns a new instance of Config.



11
12
13
14
# File 'lib/rockette/commands/config.rb', line 11

def initialize(options)
  super()
  @options = options
end

Instance Method Details

#execute(input: $stdin, output: $stdout) ⇒ Object



16
17
18
19
20
# File 'lib/rockette/commands/config.rb', line 16

def execute(input: $stdin, output: $stdout)
  # Command logic goes here ...
  output.puts "Coming soon..."
  check_input(input)
end