Class: Clenver::CLI
- Inherits:
-
Thor
- Object
- Thor
- Clenver::CLI
- Includes:
- Logging, Thor::Actions
- Defined in:
- lib/clenver/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
- #help(cli = nil) ⇒ Object
- #init(config, dst = nil) ⇒ Object
-
#initialize ⇒ CLI
constructor
A new instance of CLI.
- #version ⇒ Object
Methods included from Logging
configure_logger_for, #logger, logger_for
Constructor Details
#initialize ⇒ CLI
Returns a new instance of CLI.
19 20 21 |
# File 'lib/clenver/cli.rb', line 19 def initialize(*) super end |
Class Method Details
.start ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/clenver/cli.rb', line 11 def self.start(*) super # logger.debug("args: #{args}") # path = args[0] # dst_dist = args[1] # Clenver::Runner.new(path, dst_dist).start end |
Instance Method Details
#help(cli = nil) ⇒ Object
25 26 27 |
# File 'lib/clenver/cli.rb', line 25 def help(cli = nil) logger.error("Not implemented") end |