Sha256: c55d0d0acc89c527fc41a8950d45e05f69da0c2487f62b2a190796e547b98b36

Contents?: true

Size: 530 Bytes

Versions: 21

Compression:

Stored size: 530 Bytes

Contents

class Eco::API::UseCases::Default::Meta::GraphQLSchema
  class Cli < Eco::API::UseCases::Cli
    desc "Retrieves and stores the GraphQL Schema"

    callback do |_sess, options, _case|
      file = SCR.get_arg(cli_name, with_param: true)
      options.deep_merge!(output: {file: {name: file}})
    end

    add_option("-format", "Kind of extract (definition | json | yaml )") do |options|
      format = SCR.get_arg("-format", with_param: true)
      options.deep_merge!(output: {format: format})
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
eco-helpers-3.0.21 lib/eco/api/usecases/default/meta/cli/graphql_schema_cli.rb
eco-helpers-3.0.20 lib/eco/api/usecases/default/meta/cli/graphql_schema_cli.rb
eco-helpers-3.0.19 lib/eco/api/usecases/default/meta/cli/graphql_schema_cli.rb
eco-helpers-3.0.18 lib/eco/api/usecases/default/meta/cli/graphql_schema_cli.rb
eco-helpers-3.0.17 lib/eco/api/usecases/default/meta/cli/graphql_schema_cli.rb
eco-helpers-3.0.16 lib/eco/api/usecases/default/meta/cli/graphql_schema_cli.rb
eco-helpers-3.0.15 lib/eco/api/usecases/default/meta/cli/graphql_schema_cli.rb
eco-helpers-3.0.14 lib/eco/api/usecases/default/meta/cli/graphql_schema_cli.rb
eco-helpers-3.0.13 lib/eco/api/usecases/default/meta/cli/graphql_schema_cli.rb
eco-helpers-3.0.12 lib/eco/api/usecases/default/meta/cli/graphql_schema_cli.rb
eco-helpers-3.0.11 lib/eco/api/usecases/default/meta/cli/graphql_schema_cli.rb
eco-helpers-3.0.10 lib/eco/api/usecases/default/meta/cli/graphql_schema_cli.rb
eco-helpers-3.0.9 lib/eco/api/usecases/default/meta/cli/graphql_schema_cli.rb
eco-helpers-3.0.8 lib/eco/api/usecases/default/meta/cli/graphql_schema_cli.rb
eco-helpers-3.0.7 lib/eco/api/usecases/default/meta/cli/graphql_schema_cli.rb
eco-helpers-3.0.6 lib/eco/api/usecases/default/meta/cli/graphql_schema_cli.rb
eco-helpers-3.0.5 lib/eco/api/usecases/default/meta/cli/graphql_schema_cli.rb
eco-helpers-3.0.4 lib/eco/api/usecases/default/meta/cli/graphql_schema_cli.rb
eco-helpers-3.0.3 lib/eco/api/usecases/default/meta/cli/graphql_schema_cli.rb
eco-helpers-3.0.2 lib/eco/api/usecases/default/meta/cli/graphql_schema_cli.rb