@griffin-app/griffin-cli 1.0.28 → 1.0.29
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 +2 -1
- package/dist/utils/terminal.d.ts +20 -20
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -20,11 +20,12 @@ import { executeIntegrationsConnect } from "./commands/hub/integrations.js";
|
|
|
20
20
|
import { executeNotificationsList, executeNotificationsTest, } from "./commands/hub/notifications.js";
|
|
21
21
|
import { executeSecretsList, executeSecretsSet, executeSecretsGet, executeSecretsDelete, } from "./commands/hub/secrets.js";
|
|
22
22
|
import { executeIntegrationsList, executeIntegrationsShow, executeIntegrationsUpdate, executeIntegrationsRemove, } from "./commands/hub/integrations.js";
|
|
23
|
+
import packageInfo from '../package.json' with { type: 'json' };
|
|
23
24
|
const program = new Command();
|
|
24
25
|
program
|
|
25
26
|
.name("griffin")
|
|
26
27
|
.description("Griffin CLI - API Monitoring as Code")
|
|
27
|
-
.version(
|
|
28
|
+
.version(packageInfo.version)
|
|
28
29
|
.option("--json", "Output as JSON (for scripts and AI agents)");
|
|
29
30
|
// Top-level commands
|
|
30
31
|
program
|
package/dist/utils/terminal.d.ts
CHANGED
|
@@ -4,16 +4,16 @@ import Table from "cli-table3";
|
|
|
4
4
|
* Color utilities
|
|
5
5
|
*/
|
|
6
6
|
export declare const colors: {
|
|
7
|
-
readonly cyan: import("picocolors/types").Formatter;
|
|
8
|
-
readonly green: import("picocolors/types").Formatter;
|
|
9
|
-
readonly yellow: import("picocolors/types").Formatter;
|
|
10
|
-
readonly red: import("picocolors/types").Formatter;
|
|
11
|
-
readonly blue: import("picocolors/types").Formatter;
|
|
12
|
-
readonly magenta: import("picocolors/types").Formatter;
|
|
13
|
-
readonly gray: import("picocolors/types").Formatter;
|
|
14
|
-
readonly dim: import("picocolors/types").Formatter;
|
|
15
|
-
readonly bold: import("picocolors/types").Formatter;
|
|
16
|
-
readonly underline: import("picocolors/types").Formatter;
|
|
7
|
+
readonly cyan: import("picocolors/types.js").Formatter;
|
|
8
|
+
readonly green: import("picocolors/types.js").Formatter;
|
|
9
|
+
readonly yellow: import("picocolors/types.js").Formatter;
|
|
10
|
+
readonly red: import("picocolors/types.js").Formatter;
|
|
11
|
+
readonly blue: import("picocolors/types.js").Formatter;
|
|
12
|
+
readonly magenta: import("picocolors/types.js").Formatter;
|
|
13
|
+
readonly gray: import("picocolors/types.js").Formatter;
|
|
14
|
+
readonly dim: import("picocolors/types.js").Formatter;
|
|
15
|
+
readonly bold: import("picocolors/types.js").Formatter;
|
|
16
|
+
readonly underline: import("picocolors/types.js").Formatter;
|
|
17
17
|
};
|
|
18
18
|
/**
|
|
19
19
|
* Unified Terminal interface for all CLI interactions
|
|
@@ -82,16 +82,16 @@ export declare class Terminal {
|
|
|
82
82
|
* Access to color functions
|
|
83
83
|
*/
|
|
84
84
|
get colors(): {
|
|
85
|
-
readonly cyan: import("picocolors/types").Formatter;
|
|
86
|
-
readonly green: import("picocolors/types").Formatter;
|
|
87
|
-
readonly yellow: import("picocolors/types").Formatter;
|
|
88
|
-
readonly red: import("picocolors/types").Formatter;
|
|
89
|
-
readonly blue: import("picocolors/types").Formatter;
|
|
90
|
-
readonly magenta: import("picocolors/types").Formatter;
|
|
91
|
-
readonly gray: import("picocolors/types").Formatter;
|
|
92
|
-
readonly dim: import("picocolors/types").Formatter;
|
|
93
|
-
readonly bold: import("picocolors/types").Formatter;
|
|
94
|
-
readonly underline: import("picocolors/types").Formatter;
|
|
85
|
+
readonly cyan: import("picocolors/types.js").Formatter;
|
|
86
|
+
readonly green: import("picocolors/types.js").Formatter;
|
|
87
|
+
readonly yellow: import("picocolors/types.js").Formatter;
|
|
88
|
+
readonly red: import("picocolors/types.js").Formatter;
|
|
89
|
+
readonly blue: import("picocolors/types.js").Formatter;
|
|
90
|
+
readonly magenta: import("picocolors/types.js").Formatter;
|
|
91
|
+
readonly gray: import("picocolors/types.js").Formatter;
|
|
92
|
+
readonly dim: import("picocolors/types.js").Formatter;
|
|
93
|
+
readonly bold: import("picocolors/types.js").Formatter;
|
|
94
|
+
readonly underline: import("picocolors/types.js").Formatter;
|
|
95
95
|
};
|
|
96
96
|
/**
|
|
97
97
|
* Open a URL in the user's default browser
|