@epilot/cli 0.1.5 → 0.1.6
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/README.md
CHANGED
|
@@ -21,7 +21,7 @@ var auth_default = defineCommand({
|
|
|
21
21
|
description: "Manage authentication"
|
|
22
22
|
},
|
|
23
23
|
subCommands: {
|
|
24
|
-
login: () => import("./auth-login-
|
|
24
|
+
login: () => import("./auth-login-7B4GCQWY.js").then((m) => m.default),
|
|
25
25
|
token: () => import("./auth-token-VSNRXUBI.js").then((m) => m.default),
|
|
26
26
|
logout: defineCommand({
|
|
27
27
|
meta: { name: "logout", description: "Remove stored credentials" },
|
|
@@ -304,15 +304,8 @@ var renderPage = (title, message, status, code) => {
|
|
|
304
304
|
<body>
|
|
305
305
|
<div class="card">
|
|
306
306
|
<div class="logo">
|
|
307
|
-
<svg viewBox="0 0
|
|
308
|
-
<path d="
|
|
309
|
-
<path d="M71.19 36.42c13.56 0 24.8 5.32 33.36 15.04l.41.46 19.52-16.15-.44-.52C111.8 21.27 92.34 12 71.19 12 36.41 12 12 36.7 12 70.63h25.53c0-20.3 14.32-34.21 33.66-34.21Z" fill="#005EB4"/>
|
|
310
|
-
<path d="M190.05 96.74V76.2h38.82V58.01h-38.82V42.44h43.48V24.04h-64.12v91.32h66.46V96.74h-45.82Z" fill="#005EB4"/>
|
|
311
|
-
<path d="M287.9 45.04c-6.53 0-12.37 1.73-17.36 5.15V24.04h-20v91.32h20v-4.3c4.99 3.63 10.96 5.49 17.75 5.49 18.74 0 33.01-15.58 33.01-36.09 0-20.25-14.54-35.42-33.4-35.42Zm-2.53 53.5c-9.62 0-16.63-7.52-16.63-17.86 0-10.07 7-17.53 16.29-17.53 9.62 0 16.63 7.46 16.63 17.53 0 10.34-7.01 17.86-16.29 17.86Z" fill="#005EB4"/>
|
|
312
|
-
<path d="M335.35 24.04h20.64v91.32h-20.64V24.04Z" fill="#005EB4"/>
|
|
313
|
-
<path d="M397.25 45.04c-20.78 0-36.74 15.37-36.74 35.42 0 20.32 15.96 36.09 36.39 36.09 20.78 0 36.74-15.5 36.74-35.82 0-20.45-15.97-35.69-36.39-35.69Zm-.18 53.5c-9.48 0-16.11-7.52-16.11-18.28 0-10.14 6.86-17.25 16.65-17.25 9.41 0 16.04 7.11 16.04 17.25 0 10.76-6.86 18.28-16.58 18.28Z" fill="#005EB4"/>
|
|
314
|
-
<path d="M460.2 62.87v-16.4h-13.06v68.89h20.64V79.07c0-9.35 5.73-14.7 14.18-14.7h6.53V45.04h-4.62c-10.3 0-18.68 5.73-23.67 17.83Z" fill="#005EB4"/>
|
|
315
|
-
<circle cx="526" cy="90" r="14" fill="#FF7043"/>
|
|
307
|
+
<svg fill="none" viewBox="0 0 162 41" xmlns="http://www.w3.org/2000/svg" style="height:32px;width:auto;">
|
|
308
|
+
<path d="M107.154 8.17228H112.299V32.6345H107.154V8.17228ZM116.179 32.7188H121.325V0.496218H116.179V32.7188ZM153.547 0.496218V8.17228H151.017V13.3178H153.547V32.6345H158.693V13.3178H161.308V8.17228H158.693V0.411865H153.547V0.496218ZM74.6779 23.0183C74.8497 22.1573 74.9345 21.2813 74.931 20.4034C74.905 17.4165 73.7775 14.5444 71.7648 12.3375C69.752 10.1306 66.9954 8.74416 64.0236 8.44407C61.0518 8.14397 58.0738 8.95128 55.6604 10.7112C53.247 12.4712 51.5681 15.06 50.9455 17.9813C50.323 20.9027 50.8005 23.951 52.2866 26.542C53.7727 29.133 56.1629 31.0844 58.9988 32.022C61.8348 32.9596 64.917 32.8176 67.6547 31.623C70.3924 30.4285 72.5929 28.2656 73.8344 25.5489H67.5923C66.7579 26.3446 65.7403 26.9226 64.6296 27.2318C63.5188 27.5411 62.3489 27.572 61.2234 27.3218C60.0978 27.0717 59.0511 26.5483 58.1759 25.7977C57.3006 25.0471 56.6236 24.0926 56.2047 23.0183H74.6779ZM62.6999 13.4021C64.1178 13.4043 65.5026 13.8313 66.6754 14.6283C67.8482 15.4252 68.7552 16.5553 69.2794 17.8728H56.1204C56.6346 16.5485 57.5392 15.4118 58.7143 14.6134C59.8893 13.8149 61.2793 13.3925 62.6999 13.4021ZM137.436 27.489C136.035 27.489 134.665 27.0734 133.5 26.2948C132.334 25.5163 131.426 24.4096 130.89 23.1149C130.354 21.8202 130.213 20.3955 130.487 19.021C130.76 17.6466 131.435 16.384 132.426 15.3931C133.417 14.4022 134.679 13.7273 136.054 13.4539C137.428 13.1805 138.853 13.3208 140.148 13.8571C141.442 14.3934 142.549 15.3016 143.328 16.4668C144.106 17.6321 144.522 19.002 144.522 20.4034C144.51 22.2791 143.76 24.0749 142.434 25.4013C141.108 26.7276 139.312 27.4778 137.436 27.489ZM137.436 8.17228C135.017 8.17228 132.652 8.88963 130.641 10.2336C128.629 11.5776 127.062 13.4878 126.136 15.7227C125.21 17.9577 124.968 20.4169 125.44 22.7895C125.912 25.1621 127.077 27.3415 128.787 29.0521C130.498 30.7626 132.677 31.9275 135.05 32.3995C137.422 32.8714 139.882 32.6292 142.117 31.7034C144.352 30.7777 146.262 29.21 147.606 27.1986C148.95 25.1872 149.667 22.8225 149.667 20.4034C149.665 17.1602 148.375 14.0505 146.082 11.7573C143.789 9.46399 140.679 8.17461 137.436 8.17228ZM91.0423 8.17228C87.7991 8.17461 84.6894 9.46399 82.3961 11.7573C80.1029 14.0505 78.8135 17.1602 78.8112 20.4034V40.3105H83.9567V30.4413C85.5303 31.5511 87.3433 32.2744 89.2487 32.5525C91.1541 32.8307 93.0983 32.656 94.9235 32.0425C96.7487 31.4289 98.4037 30.3939 99.7542 29.0213C101.105 27.6487 102.113 25.9772 102.697 24.1423C103.28 22.3073 103.424 20.3606 103.115 18.46C102.806 16.5593 102.053 14.7583 100.918 13.2028C99.7828 11.6474 98.2971 10.3813 96.5813 9.50731C94.8655 8.6333 92.9678 8.17593 91.0423 8.17228ZM91.0423 27.489C89.6409 27.489 88.2709 27.0734 87.1057 26.2948C85.9405 25.5163 85.0323 24.4096 84.496 23.1149C83.9597 21.8202 83.8194 20.3955 84.0928 19.021C84.3662 17.6466 85.0411 16.384 86.032 15.3931C87.0229 14.4022 88.2855 13.7273 89.6599 13.4539C91.0344 13.1805 92.4591 13.3208 93.7538 13.8571C95.0485 14.3934 96.1551 15.3016 96.9337 16.4668C97.7123 17.6321 98.1279 19.002 98.1279 20.4034C98.1166 22.2791 97.3665 24.0749 96.0401 25.4013C94.7138 26.7276 92.918 27.4778 91.0423 27.489ZM22.4638 0.496218C19.8335 0.335595 17.2143 0.95413 14.9338 2.27444C12.6532 3.59476 10.8126 5.55823 9.64225 7.91923C9.54689 8.09327 9.51221 8.29411 9.54369 8.49005C9.57517 8.68598 9.67101 8.86586 9.81609 9.00126C9.96117 9.13667 10.1472 9.2199 10.3449 9.23781C10.5425 9.25572 10.7405 9.20728 10.9075 9.10016C13.0147 7.8133 15.4398 7.1413 17.9088 7.16006C21.485 7.17051 24.9118 8.59581 27.4406 11.1246C29.9694 13.6534 31.3947 17.0802 31.4052 20.6564C31.4036 20.8549 31.4665 21.0485 31.5844 21.2082C31.7023 21.3679 31.8688 21.4851 32.0589 21.5421C32.249 21.5992 32.4525 21.593 32.6388 21.5246C32.8251 21.4561 32.9842 21.3291 33.0922 21.1625C34.5616 18.8164 35.296 16.0845 35.201 13.3178C35.022 9.98973 33.625 6.84383 31.2761 4.47939C28.9272 2.11494 25.7906 0.697184 22.4638 0.496218ZM40.4309 34.2372C41.8561 32.0237 42.6141 29.4468 42.6141 26.8142C42.6141 24.1815 41.8561 21.6046 40.4309 19.3911C40.3229 19.2246 40.1638 19.0976 39.9775 19.0291C39.7911 18.9607 39.5877 18.9545 39.3975 19.0116C39.2074 19.0686 39.0409 19.1858 38.923 19.3455C38.8052 19.5052 38.7423 19.6988 38.7438 19.8973C38.814 22.2991 38.2413 24.676 37.0848 26.7822C35.9284 28.8884 34.2303 30.6475 32.1661 31.8774C30.1019 33.1073 27.7466 33.7634 25.3439 33.7779C22.9411 33.7923 20.5781 33.1646 18.4992 31.9597C18.3316 31.86 18.1361 31.8175 17.9422 31.8384C17.7482 31.8593 17.5663 31.9426 17.4237 32.0756C17.2812 32.2087 17.1856 32.3845 17.1514 32.5765C17.1171 32.7685 17.1461 32.9664 17.234 33.1406C18.534 35.5797 20.5308 37.5765 22.9699 38.8765C25.9403 40.3923 29.3659 40.7571 32.5889 39.9008C35.8118 39.0444 38.6046 37.0274 40.4309 34.2372ZM2.13489 32.9719C3.32839 35.314 5.17384 37.2609 7.44878 38.578C9.72371 39.8951 12.331 40.5261 14.9564 40.3949C15.1512 40.3853 15.3376 40.3133 15.4882 40.1895C15.6389 40.0658 15.7457 39.8969 15.793 39.7078C15.8403 39.5187 15.8255 39.3194 15.7508 39.1393C15.6761 38.9592 15.5455 38.808 15.3782 38.7078C13.21 37.5239 11.4027 35.775 10.1484 33.6467C8.36077 30.5366 7.88085 26.844 8.81401 23.3802C9.74717 19.9165 12.0171 16.9648 15.1252 15.1735C15.2944 15.0747 15.4269 14.9236 15.503 14.743C15.579 14.5624 15.5944 14.362 15.5469 14.1718C15.4994 13.9817 15.3915 13.8122 15.2394 13.6886C15.0873 13.565 14.8992 13.4941 14.7034 13.4865C11.937 13.3946 9.20601 14.1287 6.85862 15.5953C4.06441 17.3971 2.03582 20.1692 1.16365 23.3775C0.291483 26.5858 0.637444 30.0034 2.13489 32.9719Z" fill="#111"/>
|
|
316
309
|
</svg>
|
|
317
310
|
</div>
|
|
318
311
|
<div class="icon-circle">
|
package/dist/bin/epilot.js
CHANGED
|
@@ -11,7 +11,7 @@ import { defineCommand } from "citty";
|
|
|
11
11
|
var main = defineCommand({
|
|
12
12
|
meta: {
|
|
13
13
|
name: "epilot",
|
|
14
|
-
version: "0.1.
|
|
14
|
+
version: "0.1.6",
|
|
15
15
|
description: "CLI for epilot APIs"
|
|
16
16
|
},
|
|
17
17
|
args: {
|
|
@@ -24,10 +24,10 @@ var main = defineCommand({
|
|
|
24
24
|
jsonata: { type: "string", description: "JSONata expression" }
|
|
25
25
|
},
|
|
26
26
|
subCommands: {
|
|
27
|
-
auth: () => import("../auth-
|
|
27
|
+
auth: () => import("../auth-JRW6QLKR.js").then((m) => m.default),
|
|
28
28
|
profile: () => import("../profile-MZ3VK7PO.js").then((m) => m.default),
|
|
29
29
|
completion: () => import("../completion-RCVUCEMM.js").then((m) => m.default),
|
|
30
|
-
upgrade: () => import("../upgrade-
|
|
30
|
+
upgrade: () => import("../upgrade-GSUVIXOB.js").then((m) => m.default),
|
|
31
31
|
"access-token": () => import("../access-token-BDNU3ZFC.js").then((m) => m.default),
|
|
32
32
|
address: () => import("../address-ZCYZYRP4.js").then((m) => m.default),
|
|
33
33
|
"address-suggestions": () => import("../address-suggestions-RP5N7NVQ.js").then((m) => m.default),
|
|
@@ -78,7 +78,7 @@ var main = defineCommand({
|
|
|
78
78
|
});
|
|
79
79
|
|
|
80
80
|
// bin/epilot.ts
|
|
81
|
-
var VERSION = true ? "0.1.
|
|
81
|
+
var VERSION = true ? "0.1.6" : (await null).default.version;
|
|
82
82
|
var args = process.argv.slice(2);
|
|
83
83
|
var completionsIdx = args.indexOf("--_completions");
|
|
84
84
|
if (completionsIdx >= 0) {
|
|
@@ -72,7 +72,7 @@ ${GREEN}${BOLD}Upgraded to @epilot/cli@${latest}${RESET}
|
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
74
|
var getCurrentVersion = () => {
|
|
75
|
-
if (true) return "0.1.
|
|
75
|
+
if (true) return "0.1.6";
|
|
76
76
|
try {
|
|
77
77
|
const output = execSync("npm ls -g @epilot/cli --depth=0 --json 2>/dev/null", {
|
|
78
78
|
encoding: "utf-8",
|