Sha256: 291ad5e9cb45237835f64eaee84e32de4b7fc4cbbadb0246921618c6ce2043e1

Contents?: true

Size: 346 Bytes

Versions: 9

Compression:

Stored size: 346 Bytes

Contents

require 'thor'
require 'susanoo/generators'


module Susanoo
  module CLI
    class Global < Thor

      desc "new PROJECT", "Create a new Susanoo/Cordova project"
      def new(name)
        Susanoo::Project.folder_name = name
        Susanoo::Generators::Cordova.start
        Susanoo::Generators::Frameworks.start
      end

    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
susanoo-0.10.0 lib/susanoo/cli/global.rb
susanoo-0.8.0 lib/susanoo/cli/global.rb
susanoo-0.7.4 lib/susanoo/cli/global.rb
susanoo-0.7.2 lib/susanoo/cli/global.rb
susanoo-0.7.1 lib/susanoo/cli/global.rb
susanoo-0.7.0 lib/susanoo/cli/global.rb
susanoo-0.5.1 lib/susanoo/cli/global.rb
susanoo-0.5.0 lib/susanoo/cli/global.rb
susanoo-0.4.1 lib/susanoo/cli/global.rb