You'll probably never have to write this function as it is included in the golem template created on launch.
with_golem_options(app, golem_opts, print = FALSE)
the app object.
A list of Options to be added to the app
Whether or not to print the app. Default is to
a shiny.appObj object