Rstudio API commands

I'm trying to use some commands from the rstudioapi package but don't know how to pass arguments to these commands. The goal is to be able to export a file from RStudio Server
Screenshot 2021-02-12 141158

and I know this can be done with rstudioapi::executeCommand('exportFiles'), but I need to be able to select the files first. I think I want rstudioapi::executeCommand('findSelectAll')but I dont know how to send arguments of what to find and select.

If there is documentation for these commands I would appreciate those links as well. I've looked at the RStudio Server documentation and these are only mentioned in the Appendix by name, but no other information.