0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

fastlane 実行時に表示されるプラグイン概要を消す

Posted at

プラグインを追加した状態で fastlane を実行すると、レーン一覧の前に毎回こんなの⬇️⬇️⬇️が表示されて「邪魔だなぁ」と思ってました。

下記は Firebase App Distribution のプラグインを追加した状態。

% bundle exec fastlane

[✔] 🚀 
+------------------------------------------------------------------------------------------------------+
|                                             Used plugins                                             |
+-------------------------------------------+---------+------------------------------------------------+
| Plugin                                    | Version | Action                                         |
+-------------------------------------------+---------+------------------------------------------------+
| fastlane-plugin-firebase_app_distribution | 0.7.4   | firebase_app_distribution_add_testers,         |
|                                           |         | firebase_app_distribution_get_udids,           |
|                                           |         | firebase_app_distribution_create_group,        |
|                                           |         | firebase_app_distribution_delete_group,        |
|                                           |         | firebase_app_distribution,                     |
|                                           |         | firebase_app_distribution_get_latest_release,  |
|                                           |         | firebase_app_distribution_remove_testers       |
+-------------------------------------------+---------+------------------------------------------------+

これを消すには、

FASTLANE_HIDE_PLUGINS_TABLE という環境変数の値に yes を設定します。

fastlane/.env
FASTLANE_HIDE_PLUGINS_TABLE = true

この状態で fastlane を実行すると...

% bundle exec fastlane

[✔] 🚀 
[16:10:09]: Welcome to fastlane! Here's what your app is set up to do:
+---------------------------------------------------------------------------+
|                          Available lanes to run                           |
+--------+--------------------+---------------------------------------------+
| Number | Lane Name          | Description                                 |
+--------+--------------------+---------------------------------------------+
| 1      | test               | Unit Test                                   |
| 2      | beta               | Submit a new Beta Build to Crashlytics Beta |
| 3      | deploy             | Deploy a new version to the Google Play     |
| 0      | cancel             | No selection, exit fastlane!                |
+--------+--------------------+---------------------------------------------+
[16:10:09]: Which number would you like to run?

出なくなりました!!

参考

公式ドキュメントに書いてありました!

To disable the plugins summary table printed at the beginning, set the FASTLANE_HIDE_PLUGINS_TABLE environment variable to true.

Configuring fastlane - Output environment variables
https://docs.fastlane.tools/advanced/fastlane/

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?