Sha256: 026525a8d9fa850dcd6e48f44603e260beb9d8afa7e2186a3c5074a3cc05f41c

Contents?: true

Size: 321 Bytes

Versions: 3

Compression:

Stored size: 321 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

if ARGV[0] == "--component"
  ARGV.replace(["component", *ARGV[1..-1]])

  require "decidim/generators/component_generator"

  Decidim::Generators::ComponentGenerator.start
else
  require "decidim/generators/app_generator"

  Decidim::Generators::AppGenerator.start
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-generators-0.11.2 exe/decidim
decidim-generators-0.11.1 exe/decidim
decidim-generators-0.11.0.pre1 exe/decidim