If for some reason you need to call a specific command that is not available in the current fastlane library, you have two options. Ideally, if what you need to do would be useful for the general public, create your own action/plugin, as long as it's appealing and generic enough for other developers. If it's a very specific action, fastlane lets you run specific shell sh commands as if you were in the Command Prompt yourself.
Running a shell command is as simple as adding it to your lane, with an action similar to the following:
... sh(“git add ./screenshots") ... sh("git commit -m:’Specific update text’”) .. sh "bash ./script.sh"
It's quite versatile. As you can see, you are able to interact with your bash shell directly from within fastlane, calling specific shell scripts that...