Sha256: 3bf9d4f67281774c21e407848be9935360e29f56913a2444d104cfa322a69dec

Contents?: true

Size: 624 Bytes

Versions: 6

Compression:

Stored size: 624 Bytes

Contents

desc 'Create a skeleton Vedeu client application.'
task :new do
  app_name = ARGV[0]

  if app_name
    Vedeu::Generator::Application.generate(app_name)

  else
    print Vedeu::Esc.red { 'Error: ' }
    print 'You did not specify a name for the new application.'

  end
end

# 'Specify the interface name lowercase snakecase; e.g. main_interface'
desc 'Create a new interface within the client application.'
task :view do
  view_name = ARGV[0]

  if view_name
    Vedeu::Generator::View.generate(view_name)

  else
    print Vedeu::Esc.red { 'Error: ' }
    print 'You did not specify a name for the name view.'

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vedeu-0.4.41 lib/vedeu/tasks/application.rake
vedeu-0.4.40 lib/vedeu/tasks/application.rake
vedeu-0.4.39 lib/vedeu/tasks/application.rake
vedeu-0.4.38 lib/vedeu/tasks/application.rake
vedeu-0.4.37 lib/vedeu/tasks/application.rake
vedeu-0.4.36 lib/vedeu/tasks/application.rake