Sha256: 31ef5a96b33252e26961f2fcaf3d79402143454e14d3982129124c5ce61042b6
Contents?: true
Size: 688 Bytes
Versions: 13
Compression:
Stored size: 688 Bytes
Contents
# frozen_string_literal: true module Script class Command class Create < ShopifyCLI::Command::SubCommand hidden_feature options do |parser, flags| parser.on("--title=TITLE") { |title| flags[:title] = title } parser.on("--api=API_NAME") { |ep_name| flags[:extension_point] = ep_name } parser.on("--language=LANGUAGE") { |language| flags[:language] = language } parser.on("--branch=BRANCH") { |branch| flags[:branch] = branch } end def call(_args, _) @ctx.abort(@ctx.message("script.deprecated")) end def self.help ShopifyCLI::Context.new.message("script.deprecated") end end end end
Version data entries
13 entries across 13 versions & 1 rubygems