Module: Pantograph

Defined in:
pantograph/lib/pantograph/actions/slack.rb,
pantograph/lib/pantograph.rb,
pantograph/lib/pantograph/lane.rb,
pantograph/lib/pantograph/tools.rb,
pantograph/lib/pantograph/action.rb,
pantograph/lib/pantograph/runner.rb,
pantograph/lib/pantograph/shells.rb,
pantograph/lib/pantograph/boolean.rb,
pantograph/lib/pantograph/one_off.rb,
pantograph/lib/pantograph/version.rb,
pantograph/lib/pantograph/lane_list.rb,
pantograph/lib/pantograph/pant_file.rb,
pantograph/lib/pantograph/actions/sh.rb,
pantograph/lib/pantograph/new_action.rb,
pantograph/lib/pantograph/actions/erb.rb,
pantograph/lib/pantograph/actions/say.rb,
pantograph/lib/pantograph/actions/ssh.rb,
pantograph/lib/pantograph/actions/zip.rb,
pantograph/lib/pantograph/setup/setup.rb,
pantograph/lib/pantograph/actions/cloc.rb,
pantograph/lib/pantograph/actions/echo.rb,
pantograph/lib/pantograph/actions/jira.rb,
pantograph/lib/pantograph/actions/puts.rb,
pantograph/lib/pantograph/lane_manager.rb,
pantograph/lib/pantograph/other_action.rb,
pantograph/lib/pantograph/actions/debug.rb,
pantograph/lib/pantograph/actions/is_ci.rb,
pantograph/lib/pantograph/actions/rsync.rb,
pantograph/lib/pantograph/actions/sonar.rb,
pantograph/lib/pantograph/auto_complete.rb,
pantograph/lib/pantograph/actions/danger.rb,
pantograph/lib/pantograph/actions/gradle.rb,
pantograph/lib/pantograph/actions/import.rb,
pantograph/lib/pantograph/actions/prompt.rb,
pantograph/lib/pantograph/actions/rocket.rb,
pantograph/lib/pantograph/actions/println.rb,
pantograph/lib/pantograph/actions/twitter.rb,
pantograph/lib/pantograph/junit_generator.rb,
pantograph/lib/pantograph/action_collector.rb,
pantograph/lib/pantograph/actions/download.rb,
pantograph/lib/pantograph/actions/git_pull.rb,
pantograph/lib/pantograph/helper/sh_helper.rb,
pantograph/lib/pantograph/actions/skip_docs.rb,
pantograph/lib/pantograph/helper/gem_helper.rb,
pantograph/lib/pantograph/helper/git_helper.rb,
pantograph/lib/pantograph/lane_manager_base.rb,
pantograph/lib/pantograph/setup/setup_maven.rb,
pantograph/lib/pantograph/actions/git_branch.rb,
pantograph/lib/pantograph/actions/git_commit.rb,
pantograph/lib/pantograph/actions/github_api.rb,
pantograph/lib/pantograph/actions/is_verbose.rb,
pantograph/lib/pantograph/commands_generator.rb,
pantograph/lib/pantograph/pantograph_require.rb,
pantograph/lib/pantograph/setup/setup_gradle.rb,
pantograph/lib/pantograph/actions/artifactory.rb,
pantograph/lib/pantograph/environment_printer.rb,
pantograph/lib/pantograph/erb_template_helper.rb,
pantograph/lib/pantograph/plugins/plugin_info.rb,
pantograph/lib/pantograph/setup/setup_angular.rb,
pantograph/lib/pantograph/setup/setup_generic.rb,
pantograph/lib/pantograph/supported_platforms.rb,
pantograph/lib/pantograph/actions/lane_context.rb,
pantograph/lib/pantograph/actions/ruby_version.rb,
pantograph/lib/pantograph/command_line_handler.rb,
pantograph/lib/pantograph/configuration_helper.rb,
pantograph/lib/pantograph/helper/dotenv_helper.rb,
pantograph/lib/pantograph/helper/gradle_helper.rb,
pantograph/lib/pantograph/server/socket_server.rb,
pantograph/lib/pantograph/actions/git_pull_tags.rb,
pantograph/lib/pantograph/actions/opt_out_usage.rb,
pantograph/lib/pantograph/actions/prompt_secure.rb,
pantograph/lib/pantograph/actions/push_git_tags.rb,
pantograph/lib/pantograph/cli_tools_distributor.rb,
pantograph/lib/pantograph/plugins/plugin_search.rb,
pantograph/lib/pantograph/server/action_command.rb,
pantograph/lib/pantograph/server/command_parser.rb,
pantograph/lib/pantograph/actions/actions_helper.rb,
pantograph/lib/pantograph/actions/bundle_install.rb,
pantograph/lib/pantograph/actions/git_tag_exists.rb,
pantograph/lib/pantograph/actions/reset_git_repo.rb,
pantograph/lib/pantograph/plugins/plugin_fetcher.rb,
pantograph/lib/pantograph/plugins/plugin_manager.rb,
pantograph/lib/pantograph/server/control_command.rb,
pantograph/lib/pantograph/actions/ensure_env_vars.rb,
pantograph/lib/pantograph/actions/import_from_git.rb,
pantograph/lib/pantograph/actions/last_git_commit.rb,
pantograph/lib/pantograph/server/command_executor.rb,
pantograph/lib/pantograph/actions/default_platform.rb,
pantograph/lib/pantograph/markdown_table_formatter.rb,
pantograph/lib/pantograph/plugins/plugin_generator.rb,
pantograph/lib/pantograph/actions/ensure_git_branch.rb,
pantograph/lib/pantograph/actions/number_of_commits.rb,
pantograph/lib/pantograph/actions/update_pantograph.rb,
pantograph/lib/pantograph/actions/ensure_bundle_exec.rb,
pantograph/lib/pantograph/actions/get_github_release.rb,
pantograph/lib/pantograph/actions/pantograph_version.rb,
pantograph/lib/pantograph/actions/push_to_git_remote.rb,
pantograph/lib/pantograph/actions/set_github_release.rb,
pantograph/lib/pantograph/documentation/actions_list.rb,
pantograph/lib/pantograph/actions/create_pull_request.rb,
pantograph/lib/pantograph/plugins/plugin_generator_ui.rb,
pantograph/lib/pantograph/actions/ensure_no_debug_code.rb,
pantograph/lib/pantograph/actions/git_submodule_update.rb,
pantograph/lib/pantograph/documentation/docs_generator.rb,
pantograph/lib/pantograph/server/action_command_return.rb,
pantograph/lib/pantograph/plugins/plugin_info_collector.rb,
pantograph/lib/pantograph/plugins/plugin_update_manager.rb,
pantograph/lib/pantograph/actions/min_pantograph_version.rb,
pantograph/lib/pantograph/actions/ensure_git_status_clean.rb,
pantograph/lib/pantograph/actions/changelog_from_git_commits.rb,
pantograph/lib/pantograph/server/json_return_value_processor.rb,
pantograph/lib/pantograph/documentation/markdown_docs_generator.rb,
pantograph/lib/pantograph/server/socket_server_action_command_executor.rb,
pantograph_core/lib/pantograph_core/ui/github_issue_inspector_reporter.rb

Overview

rubocop:disable Style/CaseEquality rubocop:disable Style/MultilineTernaryOperator rubocop:disable Style/NestedTernaryOperator

Defined Under Namespace

Modules: Actions, Helper, NewAction Classes: Action, ActionCollector, ActionCommand, ActionCommandReturn, ActionsList, Argument, AutoComplete, Boolean, CLIToolsDistributor, CommandExecutor, CommandLineHandler, CommandParser, CommandsGenerator, ConfigurationHelper, ControlCommand, DocsGenerator, EnvironmentPrinter, ErbTemplateHelper, ErbalT, InspectorReporter, JSONReturnValueProcessor, JUnitGenerator, Lane, LaneList, LaneManager, LaneManagerBase, MarkdownDocsGenerator, MarkdownTableFormatter, OneOff, OtherAction, PantFile, PantographPlugin, PantographRequire, PluginFetcher, PluginGenerator, PluginGeneratorUI, PluginInfo, PluginInfoCollector, PluginManager, PluginSearch, PluginUpdateManager, Runner, Setup, SetupAngular, SetupGeneric, SetupGradle, SocketServer, SocketServerActionCommandExecutor, SupportedPlatforms

Constant Summary collapse

UI =
PantographCore::UI
ROOT =
Pathname.new(File.expand_path('../..', __FILE__))
TOOLS =
[
  :pantograph
]
TOOL_CONFIG_FILES =

a list of all the config files we currently expect

[
  "Pantfile"
]
SHELLS =
[
  :bash,
  :zsh
]
VERSION =
'0.1.19'.freeze
SUMMARY =
'Another way to automate your apps'
DESCRIPTION =
'A way to automate your apps, forked from Fastlane'.freeze
RUBOCOP_REQUIREMENT =
'0.49.1'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.external_actionsObject (readonly)

Returns the value of attribute external_actions.



44
45
46
# File 'pantograph/lib/pantograph.rb', line 44

def external_actions
  @external_actions
end

Class Method Details

.load_actionsObject



34
35
36
37
38
39
40
41
42
# File 'pantograph/lib/pantograph.rb', line 34

def load_actions
  Pantograph::Actions.load_default_actions
  Pantograph::Actions.load_helpers

  if PantographCore::PantographFolder.path
    actions_path = File.join(PantographCore::PantographFolder.path, 'actions')
    @external_actions = Pantograph::Actions.load_external_actions(actions_path) if File.directory?(actions_path)
  end
end

.plugin_managerObject



46
47
48
# File 'pantograph/lib/pantograph.rb', line 46

def plugin_manager
  @plugin_manager ||= Pantograph::PluginManager.new
end