Sha256: 06913248b69401703b6f6a0e78e419815816bf65d4652d78af3f7ee7723a6826

Contents?: true

Size: 355 Bytes

Versions: 5

Compression:

Stored size: 355 Bytes

Contents

require 'thor'
require 'susanoo/generators'


module Susanoo
  module CLI
    class GlobalInterface < 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

5 entries across 5 versions & 1 rubygems

Version Path
susanoo-0.14.0 lib/susanoo/cli/global_interface.rb
susanoo-0.13.2 lib/susanoo/cli/global_interface.rb
susanoo-0.13.1 lib/susanoo/cli/global_interface.rb
susanoo-0.13.0 lib/susanoo/cli/global_interface.rb
susanoo-0.12.3 lib/susanoo/cli/global_interface.rb