Class: YKFastlane::Init
- Inherits:
-
SubCommandBase
- Object
- Thor
- SubCommandBase
- YKFastlane::Init
- Includes:
- Helper
- Defined in:
- lib/actions/init.rb
Constant Summary
Constants included from Helper
Helper::K_YK_CONFIG_FASTLANE_DEBUG, Helper::K_YK_CONFIG_FASTLANE_SCRIPT, Helper::K_fastfile_remote, Helper::K_wx_access_token, Helper::YKCONFIG_PATH, Helper::YKFastlne_SCRIPT_PATH, Helper::YKRUNING_PATH, Helper::YKWECHAT_ROBOT_TOKEN
Instance Method Summary collapse
- #define_fast_execute_path ⇒ Object
- #edit_configs ⇒ Object
- #execute_configs ⇒ Object
- #list_all_configs ⇒ Object
Methods included from Helper
default_certificate_git_remote, default_fast_file_remote, default_git_domain, display_config_yml, fastlane_script, load_config_value, load_config_yml, update_config
Methods included from Tools
UI, clone_git_repository, display_yml, git_commit, git_pull, green, load_yml, load_yml_value, notify_message_to_enterprise_wechat, over_write_yml_dict, show_prompt, update_yml, yk_ask, yk_ask_with_answers
Methods inherited from SubCommandBase
banner, exit_on_failure?, subcommand_prefix
Instance Method Details
#define_fast_execute_path ⇒ Object
61 62 63 64 |
# File 'lib/actions/init.rb', line 61 def define_fast_execute_path() Helper.update_config("debug flag", Helper::K_YK_CONFIG_FASTLANE_DEBUG, [:debug_flag] ? [:debug_flag] : 0) Helper.update_config("execute path", Helper::K_YK_CONFIG_FASTLANE_SCRIPT, [:fastfile_path].blank? ? "" : [:fastfile_path]) end |
#edit_configs ⇒ Object
47 48 49 50 51 52 53 54 55 |
# File 'lib/actions/init.rb', line 47 def edit_configs() require 'actions/certificate' require 'actions/archive' puts("all_config:#{}") YKFastlane::Init.new().config_execute() YKFastlane::Archive.new().platform_edit_user_execute() YKFastlane::Certificate.new().sync_git_execute() unless [:profile_remote_url].blank? end |
#execute_configs ⇒ Object
18 19 20 21 |
# File 'lib/actions/init.rb', line 18 def execute_configs() puts("options:#{}") self.execute_config_execute() end |
#list_all_configs ⇒ Object
68 69 70 71 72 73 74 75 76 77 |
# File 'lib/actions/init.rb', line 68 def list_all_configs() require 'actions/certificate' require 'actions/archive' YKFastlane::Certificate.new().list_details_execute() YKFastlane::Archive.new().list_platform_user_execute() Helper.display_config_yml YKFastlane::Archive.new().list_profiles_execute() end |