Class: Paperwork::CLI
- Inherits:
-
Thor
- Object
- Thor
- Paperwork::CLI
- Defined in:
- lib/paperwork/cli.rb
Overview
command line interface for paperwork
Constant Summary collapse
- CONFIG_FILE =
"paperwork.yml"
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
Instance Method Summary collapse
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
15 16 17 |
# File 'lib/paperwork/cli.rb', line 15 def config @config end |
Instance Method Details
#build ⇒ Object
27 28 29 |
# File 'lib/paperwork/cli.rb', line 27 def build build_internal "build" end |
#rebuild ⇒ Object
38 39 40 |
# File 'lib/paperwork/cli.rb', line 38 def rebuild build_internal "rebuild" end |
#server ⇒ Object
44 45 46 |
# File 'lib/paperwork/cli.rb', line 44 def server build_internal "server" end |