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.1 | lib/eco/api/usecases/default/meta/cli/graphql_schema_cli.rb |