sticky-note-cli 3.1.4 → 3.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +2 -2
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -673,7 +673,7 @@ async function cmdInit() {
|
|
|
673
673
|
|
|
674
674
|
if (!cloudResult) {
|
|
675
675
|
// installed — now authenticate (opens browser, runs interactively)
|
|
676
|
-
// stdin is piped with "
|
|
676
|
+
// stdin is piped with "y\n" to auto-accept wrangler's post-login
|
|
677
677
|
// "install Cloudflare skills?" prompt, which can't be answered inside
|
|
678
678
|
// Claude Code's session. stdout/stderr are inherited so the browser
|
|
679
679
|
// URL and success message still appear in the terminal.
|
|
@@ -681,7 +681,7 @@ async function cmdInit() {
|
|
|
681
681
|
try {
|
|
682
682
|
execSync("wrangler login", {
|
|
683
683
|
stdio: ["pipe", "inherit", "inherit"],
|
|
684
|
-
input: "
|
|
684
|
+
input: "y\n",
|
|
685
685
|
encoding: "utf-8",
|
|
686
686
|
});
|
|
687
687
|
print("\n [OK] Logged in to Cloudflare");
|