@secondlayer/cli 19.4.1 → 19.4.2
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/dist/cli.js +4 -4
- package/dist/cli.js.map +4 -4
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -202598,7 +202598,7 @@ var {
|
|
|
202598
202598
|
// package.json
|
|
202599
202599
|
var package_default = {
|
|
202600
202600
|
name: "@secondlayer/cli",
|
|
202601
|
-
version: "19.4.
|
|
202601
|
+
version: "19.4.2",
|
|
202602
202602
|
description: "Run a Stacks index on your own hardware — set it up, restore verified history, and keep it current.",
|
|
202603
202603
|
repository: {
|
|
202604
202604
|
type: "git",
|
|
@@ -208113,7 +208113,7 @@ async function runLoginFlow(options = {}) {
|
|
|
208113
208113
|
}
|
|
208114
208114
|
}
|
|
208115
208115
|
function registerLoginCommand(program) {
|
|
208116
|
-
program.command("login"
|
|
208116
|
+
program.command("login").description("Log in to Secondlayer (magic-link email)").option("--force", "Skip the already-logged-in check and re-run the flow").option("--with-token", "Read an API key from stdin (non-interactive)").option("--credits", "Log in to the archive credits account used by bootstrap, repair, and credits").addHelpText("after", `
|
|
208117
208117
|
Examples:
|
|
208118
208118
|
$ secondlayer login --credits
|
|
208119
208119
|
$ echo "$SECONDLAYER_API_KEY" | secondlayer login --with-token`).action((opts) => opts.withToken ? runTokenLogin({ credits: opts.credits }) : runLoginFlow({ force: opts.force, credits: opts.credits }));
|
|
@@ -208143,7 +208143,7 @@ async function runLogout(opts = {}) {
|
|
|
208143
208143
|
success(`Logged out (${target}).`);
|
|
208144
208144
|
}
|
|
208145
208145
|
function registerLogoutCommand(program) {
|
|
208146
|
-
program.command("logout"
|
|
208146
|
+
program.command("logout").description("Log out and revoke the local session").option("--credits", "Log out of the archive credits account used by bootstrap, repair, and credits").action((opts) => runLogout({ credits: opts.credits }));
|
|
208147
208147
|
}
|
|
208148
208148
|
// src/commands/uninstall.ts
|
|
208149
208149
|
import { spawnSync as spawnSync4 } from "node:child_process";
|
|
@@ -209840,5 +209840,5 @@ registerCreditsCommand(program);
|
|
|
209840
209840
|
registerArchiveCommand(program);
|
|
209841
209841
|
program.parse();
|
|
209842
209842
|
|
|
209843
|
-
//# debugId=
|
|
209843
|
+
//# debugId=BC7D717F23E4321C64756E2164756E21
|
|
209844
209844
|
//# sourceMappingURL=cli.js.map
|