Class: Subtrac::Commands::CreateTemplate
- Inherits:
-
Object
- Object
- Subtrac::Commands::CreateTemplate
- Defined in:
- lib/subtrac/commands/create_template.rb
Instance Method Summary collapse
-
#initialize(args, options) ⇒ CreateTemplate
constructor
A new instance of CreateTemplate.
Constructor Details
#initialize(args, options) ⇒ CreateTemplate
Returns a new instance of CreateTemplate.
4 5 6 7 8 |
# File 'lib/subtrac/commands/create_template.rb', line 4 def initialize(args, ) .project = ask("What is the name of the template project you would like to create? ") if .project.nil? .client = "templates" Subtrac.create_project(.project,.client,"template") end |