Felipe Sabino
Felipe Sabino

Reputation: 18215

Make fastlane less verbose

Is there a way to configure (may be using the Fastfile, for example) or execute Fastlane in a less verbose way?

It currently prints a lot of information that generally blinds developers of warnings and also errors. The main problem is that it takes some time scrolling and searching for the yellow/red text among a lot of useless messages until you have a clue of what happened.

The default setup prints everything and surprisingly there is even a --verbose mode for the CLI, but I could not find anything that do the opposite, like for example a --quiet mode.

EDIT:

Bellow are some examples of output I would like to be able to suppress. Taking into account that I use a Fastfile from a git repo, gym, match, cocoapods, get_version_number, increment_version_number and several other actions

Upvotes: 12

Views: 8526

Answers (2)

Fahim
Fahim

Reputation: 1431

Did you check the fastlane documentation at https://docs.fastlane.tools/actions/? For some of them there are parameters to surpress output, for gym:

gym(
  ...
  silent: true,
  suppress_xcode_output: true,
  ...
)

Upvotes: 16

KrauseFx
KrauseFx

Reputation: 11751

What are some examples of what you want to hide from the output? If you're talking about the xcodebuild output, it's being piped over to xcpretty, which does the rendering of the source files.

Upvotes: 0

Related Questions