@outlit/cli 1.6.0 → 1.6.1
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 +36 -33
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -104,7 +104,7 @@ var package_default;
|
|
|
104
104
|
var init_package = __esm(() => {
|
|
105
105
|
package_default = {
|
|
106
106
|
name: "@outlit/cli",
|
|
107
|
-
version: "1.6.
|
|
107
|
+
version: "1.6.1",
|
|
108
108
|
description: "CLI for Outlit customer intelligence platform",
|
|
109
109
|
license: "Apache-2.0",
|
|
110
110
|
repository: {
|
|
@@ -6650,20 +6650,21 @@ async function runInternalUpdateCheck(opts) {
|
|
|
6650
6650
|
}
|
|
6651
6651
|
|
|
6652
6652
|
// src/cli.ts
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
|
|
6656
|
-
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
|
|
6653
|
+
async function startCli() {
|
|
6654
|
+
if (process.argv.includes("-v")) {
|
|
6655
|
+
console.log(CLI_VERSION);
|
|
6656
|
+
process.exit(0);
|
|
6657
|
+
}
|
|
6658
|
+
if (process.argv.includes(INTERNAL_UPDATE_FLAG)) {
|
|
6659
|
+
await runInternalUpdateCheck();
|
|
6660
|
+
process.exit(0);
|
|
6661
|
+
}
|
|
6662
|
+
initializeUpdateNotifier();
|
|
6663
|
+
const main = defineCommand({
|
|
6664
|
+
meta: {
|
|
6665
|
+
name: "outlit",
|
|
6666
|
+
version: CLI_VERSION,
|
|
6667
|
+
description: `Outlit CLI -- customer intelligence from the terminal.
|
|
6667
6668
|
|
|
6668
6669
|
Usage examples:
|
|
6669
6670
|
outlit customers list --billing-status PAYING --no-activity-in 30d
|
|
@@ -6679,21 +6680,23 @@ Usage examples:
|
|
|
6679
6680
|
outlit doctor --json
|
|
6680
6681
|
|
|
6681
6682
|
For AI agents: commands auto-output JSON when stdout is piped. No --json flag needed.`
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
|
|
6685
|
-
|
|
6686
|
-
|
|
6687
|
-
|
|
6688
|
-
|
|
6689
|
-
|
|
6690
|
-
|
|
6691
|
-
|
|
6692
|
-
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
|
|
6696
|
-
|
|
6697
|
-
|
|
6698
|
-
});
|
|
6699
|
-
runMain(main);
|
|
6683
|
+
},
|
|
6684
|
+
subCommands: {
|
|
6685
|
+
auth: () => Promise.resolve().then(() => (init_auth2(), exports_auth)).then((m) => m.default),
|
|
6686
|
+
customers: () => Promise.resolve().then(() => (init_customers(), exports_customers)).then((m) => m.default),
|
|
6687
|
+
users: () => Promise.resolve().then(() => (init_users(), exports_users)).then((m) => m.default),
|
|
6688
|
+
doctor: () => Promise.resolve().then(() => (init_doctor(), exports_doctor)).then((m) => m.default),
|
|
6689
|
+
upgrade: () => Promise.resolve().then(() => (init_upgrade(), exports_upgrade)).then((m) => m.default),
|
|
6690
|
+
facts: () => Promise.resolve().then(() => (init_facts(), exports_facts)).then((m) => m.default),
|
|
6691
|
+
sources: () => Promise.resolve().then(() => (init_sources(), exports_sources)).then((m) => m.default),
|
|
6692
|
+
search: () => Promise.resolve().then(() => (init_search(), exports_search)).then((m) => m.default),
|
|
6693
|
+
sql: () => Promise.resolve().then(() => (init_sql(), exports_sql)).then((m) => m.default),
|
|
6694
|
+
schema: () => Promise.resolve().then(() => (init_schema(), exports_schema)).then((m) => m.default),
|
|
6695
|
+
integrations: () => Promise.resolve().then(() => (init_integrations(), exports_integrations)).then((m) => m.default),
|
|
6696
|
+
completions: () => Promise.resolve().then(() => (init_completions(), exports_completions)).then((m) => m.default),
|
|
6697
|
+
setup: () => Promise.resolve().then(() => (init_setup2(), exports_setup)).then((m) => m.default)
|
|
6698
|
+
}
|
|
6699
|
+
});
|
|
6700
|
+
await runMain(main);
|
|
6701
|
+
}
|
|
6702
|
+
startCli();
|