Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connectUser / connectApiUser: let server be a URL #1061

Open
aronatkins opened this issue Apr 11, 2024 · 0 comments
Open

connectUser / connectApiUser: let server be a URL #1061

aronatkins opened this issue Apr 11, 2024 · 0 comments

Comments

@aronatkins
Copy link
Contributor

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.

# 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant