require 'thor'

module Cukestart
  module Generator
    class Structure < Thor::Group
      argument :project_name, :desc => "Name of the root directory", :default => "teste_gem"

      def self.source_root
        File.dirname(__FILE__) + :project_name
      end

    end
  end
end

require 'thor'

module Cukestart
  module Generator
    class Structure < Thor::Group
      include Thor::Actions
      argument :project_name, :desc => "Name of the root directory", :default => "teste_gem"

      def self.source_root
        File.dirname(__FILE__) + :project_name
      end

      def create_folders
        empty_directory(project_name)
        empty_directory("#{project_name}/features")
        empty_directory("#{project_name}/features/support")
        empty_directory("#{project_name}/features/step_definitions")
      end
    end
  end
end

Create folders with a root default name
Create folders with a root default name
