Sha256: 49559ec72a77bd495b55d0288a0d06df8ce3c5c7b719425ec2f6e719cfd709d7

Contents?: true

Size: 739 Bytes

Versions: 12

Compression:

Stored size: 739 Bytes

Contents

Description:
    Generates a query stub.

    rails g artemis:query QUERY_TYPE [FILE_NAME]

Example:
    rails g artemis:query artist

    This will create:
        app/operations/artsy.rb
        app/operations/artsy/artist.graphql

    The GraphQL file name could be specified by giving the third argument:

      rails g artemis:query artist artist_in_tooltip

    This will create:
        app/operations/artsy.rb
        app/operations/artsy/artist_in_tooltip.graphql

    If there are multiple services registered, the service could be specified with +--service+ option:

       rails g artemis:query repository --service github

    This will create:
        app/operations/github.rb
        app/operations/github/repository.graphql

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
artemis-1.1.0 lib/generators/artemis/query/USAGE
artemis-1.0.2 lib/generators/artemis/query/USAGE
artemis-1.0.0 lib/generators/artemis/query/USAGE
artemis-0.9.0 lib/generators/artemis/query/USAGE
artemis-0.8.0 lib/generators/artemis/query/USAGE
artemis-0.7.0 lib/generators/artemis/query/USAGE
artemis-0.6.0 lib/generators/artemis/query/USAGE
artemis-0.5.2 lib/generators/artemis/query/USAGE
artemis-0.5.1 lib/generators/artemis/query/USAGE
artemis-0.5.0 lib/generators/artemis/query/USAGE
artemis-0.4.0 lib/generators/artemis/query/USAGE
artemis-0.2.0 lib/generators/artemis/query/USAGE