We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c445496 commit 2a3389eCopy full SHA for 2a3389e
.changeset/log-login-url.md
@@ -0,0 +1,5 @@
1
+---
2
+"ggt": patch
3
4
+
5
+Log the login URL for manual login in case of browser opening failure.
src/commands/login.ts
@@ -65,6 +65,7 @@ export const login: Command = async (ctx): Promise<void> => {
65
url.searchParams.set("returnTo", `https://${config.domains.services}/auth/cli/callback?port=${port}`);
66
67
try {
68
+ ctx.log.info("opening browser", { url: url.toString() });
69
await open(url.toString());
70
println({ ensureEmptyLineAbove: true })`
71
We've opened Gadget's login page using your default browser.
0 commit comments