Sha256: ca7839b7495dd8ed0cb101daa6e41556334e22087e2cf4d486bf8f125590f000
Contents?: true
Size: 1.37 KB
Versions: 4
Compression:
Stored size: 1.37 KB
Contents
require 'pantograph/action' require_relative '../helper/<%= plugin_name %>_helper' module Pantograph module Actions class <%= plugin_name.pantograph_class %>Action < Action def self.run(params) UI.message("The <%= plugin_name %> plugin is working!") end def self.description "<%= summary.gsub('"', "'") %>" end def self.authors ["<%= author.gsub('"', "'") %>"] end def self.return_value # If your method provides a return value, you can describe here what it does end def self.details # Optional: "<%= details.gsub('"', "'") %>" end def self.available_options [ # PantographCore::ConfigItem.new(key: :your_option, # env_name: "<%= plugin_name.upcase %>_YOUR_OPTION", # description: "A description of your option", # optional: false, # type: String) ] end def self.is_supported?(platform) # Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example) # See: https://docs.pantograph.tools/advanced/#control-configuration-by-lane-and-by-platform # # [:ios, :mac, :android].include?(platform) true end end end end
Version data entries
4 entries across 4 versions & 1 rubygems