Runs a shell command
Allows running an arbitrary shell command.
Be aware of a specific behavior of
shaction with regard to the working directory. For details, refer to Advanced.
|Supported platforms||ios, android, mac|
|Returns||Outputs the string and executes it. When running in tests, it returns the actual command instead of executing it|
sh("git", "commit", "-m", "My message")
||Shell command to be executed|
||Determines whether fastlane should print out the executed command itself and output of the executed command. If command line option --troubleshoot is used, then it overrides this option to true||
||A callback invoked with the command output if there is a non-zero exit status|
* = default value is dependent on the user's system
To show the documentation in your terminal, run
fastlane action sh