Class: Paperwork::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/paperwork/cli.rb

Overview

command line interface for paperwork

Constant Summary collapse

CONFIG_FILE =
"paperwork.yml"

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#configObject

Returns the value of attribute config.



15
16
17
# File 'lib/paperwork/cli.rb', line 15

def config
  @config
end

Instance Method Details

#buildObject



27
28
29
# File 'lib/paperwork/cli.rb', line 27

def build
    build_internal "build"
end

#rebuildObject



38
39
40
# File 'lib/paperwork/cli.rb', line 38

def rebuild
    build_internal "rebuild"
end

#serverObject



44
45
46
# File 'lib/paperwork/cli.rb', line 44

def server
    build_internal "server"
end