Class: Ductr::CLI::Default

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

Overview

The default CLI is started when no project folder was found. It expose project and adapter generation tasks.

Instance Method Summary collapse

Instance Method Details

#new(name = nil) ⇒ void

This method returns an undefined value.

Generates a new project

Parameters:

  • name (String) (defaults to: nil)

    The project’s name



20
21
22
# File 'lib/ductr/cli/default.rb', line 20

def new(name = nil)
  NewProjectGenerator.start([name])
end