app/commands/template.rb in skippy-0.1.1.a vs app/commands/template.rb in skippy-0.2.0.a
- old
+ new
@@ -6,21 +6,21 @@
templates = Skippy.app.templates
if templates.empty?
say ' No templates found'
else
templates.each { |template|
- say " #{template}", :green
+ say " #{template.basename}", :green
}
end
end
default_command(:list)
- desc 'install', 'Install a new template'
+ desc 'install SOURCE', 'Install a new template'
def install(source)
raise Skippy::Error, 'Not implemented'
end
- desc 'remove', 'Remove an installed template'
+ desc 'remove TEMPLATE', 'Remove an installed template'
def remove(template_name)
raise Skippy::Error, 'Not implemented'
end
end