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