Sha256: c91b9ab2b3b314cdfc31e45fe7e809817fc62e1716970f0ed6ddcf4841fd0a36
Contents?: true
Size: 1.38 KB
Versions: 6
Compression:
Stored size: 1.38 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://johnknapprs.github.io/pantograph/advanced/#control-configuration-by-lane-and-by-platform # # [:ios, :mac, :android].include?(platform) true end end end end
Version data entries
6 entries across 6 versions & 1 rubygems