commands/generators/app.rb in rhoconnect-4.0.4 vs commands/generators/app.rb in rhoconnect-5.1.1

- old
+ new

@@ -1,6 +1,8 @@ Execute.define_task do - desc "app NAME [options]", "Generate a new rhoconnect application" - def app(name,platform=nil) - Rhoconnect.run_cli(Dir.pwd, 'rhoconnect', Rhoconnect::VERSION, ARGV) - end #app -end #do + desc "app NAME [--js]", "Generate a new rhoconnect application" + def app(name, platform=nil) + # ARGV = [command, argument, ... option, ...] + ARGV.shift + invoke :app_generator + end +end \ No newline at end of file