Sha256: 2a93b6c7485178a2848ad649f39dba663e3a7a187172f10cf8f482dd79ded62c
Contents?: true
Size: 429 Bytes
Versions: 19
Compression:
Stored size: 429 Bytes
Contents
namespace :nulogy_graphql_api do desc "Generate a schema.graphql file" task :generate_schema, [:schema_output_path, :schema_definition_path] => :environment do |_task, args| abort "schema_definition_path is required" unless args.key?(:schema_definition_path) NulogyGraphqlApi::Tasks::SchemaGenerator .new(args[:schema_output_path], args[:schema_definition_path], context: {}) .generate_schema end end
Version data entries
19 entries across 19 versions & 1 rubygems