vellum-cli 0.3.2 → 0.3.3
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/index.js +6 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -268,13 +268,14 @@ function unarchiveCommand(argv) {
|
|
|
268
268
|
|
|
269
269
|
// src/commands/list.ts
|
|
270
270
|
import { parseArgs as parseArgs2 } from "node:util";
|
|
271
|
-
var HELP = `vellum list — list your artifacts
|
|
271
|
+
var HELP = `vellum list — list your artifacts
|
|
272
272
|
|
|
273
273
|
Usage:
|
|
274
274
|
vellum list [options]
|
|
275
275
|
|
|
276
|
-
|
|
277
|
-
--
|
|
276
|
+
Lists the pages you own (log in with \`vellum login\`). With the owner API key
|
|
277
|
+
(VELLUM_API_KEY / --api-key) it lists every page. By default only live pages are
|
|
278
|
+
shown; use --archived for archived-only, or --all for both.
|
|
278
279
|
|
|
279
280
|
Options:
|
|
280
281
|
--archived Show only archived pages
|
|
@@ -343,7 +344,7 @@ ${pages.length} page${pages.length === 1 ? "" : "s"}${suffix}`);
|
|
|
343
344
|
return 0;
|
|
344
345
|
} catch (err) {
|
|
345
346
|
if (err instanceof VellumApiError && err.status === 401) {
|
|
346
|
-
console.error("Error:
|
|
347
|
+
console.error("Error: not authenticated. Run `vellum login` (or set VELLUM_API_KEY / pass --api-key).");
|
|
347
348
|
return 1;
|
|
348
349
|
}
|
|
349
350
|
throw err;
|
|
@@ -646,7 +647,7 @@ async function pushCommand(argv) {
|
|
|
646
647
|
// package.json
|
|
647
648
|
var package_default = {
|
|
648
649
|
name: "vellum-cli",
|
|
649
|
-
version: "0.3.
|
|
650
|
+
version: "0.3.3",
|
|
650
651
|
description: "The vellum CLI — publish agent-authored HTML artifacts to a Vellum server.",
|
|
651
652
|
type: "module",
|
|
652
653
|
license: "MIT",
|