Open aronatkins opened 2 months ago
When connectUser() and connectApiUser() are provided a server value that is a URL rather than a servers() name, consider treating that value as a Connect URL and call addServer() to add a server entry.
connectUser()
connectApiUser()
server
servers()
addServer()
# existing use: rsconnect::connectUser("alice", "connect") # suggested enhancement: rsconnect::connectUser("alice", "https://connect.company.com")
With this change, folks could add a new Connect account with a single call rather than the two that we require today.
When
connectUser()
andconnectApiUser()
are provided aserver
value that is a URL rather than aservers()
name, consider treating that value as a Connect URL and calladdServer()
to add a server entry.With this change, folks could add a new Connect account with a single call rather than the two that we require today.