lindoai-cli 1.0.0
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 +322 -0
- package/dist/index.cjs +2900 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +40 -0
- package/dist/index.d.ts +40 -0
- package/dist/index.js +2875 -0
- package/dist/index.js.map +1 -0
- package/package.json +53 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @lindo/cli
|
|
5
|
+
*
|
|
6
|
+
* Command-line interface for the Lindo API.
|
|
7
|
+
* Provides terminal commands for interacting with the Lindo API.
|
|
8
|
+
*
|
|
9
|
+
* @satisfies Requirements 7.7, 7.8
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```bash
|
|
13
|
+
* # Configure API key
|
|
14
|
+
* lindo config set apiKey your-api-key
|
|
15
|
+
*
|
|
16
|
+
* # Run an agent
|
|
17
|
+
* lindo agents run my-agent --input '{"prompt": "Hello!"}'
|
|
18
|
+
*
|
|
19
|
+
* # Start a workflow
|
|
20
|
+
* lindo workflows start publish-page --params '{"page_id": "page-123"}'
|
|
21
|
+
*
|
|
22
|
+
* # Get workflow status
|
|
23
|
+
* lindo workflows status instance-123
|
|
24
|
+
*
|
|
25
|
+
* # Get workspace credits
|
|
26
|
+
* lindo workspace credits
|
|
27
|
+
*
|
|
28
|
+
* # Get analytics
|
|
29
|
+
* lindo analytics workspace --from 2024-01-01 --to 2024-01-31
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Creates and configures the main CLI program.
|
|
35
|
+
*
|
|
36
|
+
* @returns The configured commander program
|
|
37
|
+
*/
|
|
38
|
+
declare function createProgram(): Command;
|
|
39
|
+
|
|
40
|
+
export { createProgram };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @lindo/cli
|
|
5
|
+
*
|
|
6
|
+
* Command-line interface for the Lindo API.
|
|
7
|
+
* Provides terminal commands for interacting with the Lindo API.
|
|
8
|
+
*
|
|
9
|
+
* @satisfies Requirements 7.7, 7.8
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```bash
|
|
13
|
+
* # Configure API key
|
|
14
|
+
* lindo config set apiKey your-api-key
|
|
15
|
+
*
|
|
16
|
+
* # Run an agent
|
|
17
|
+
* lindo agents run my-agent --input '{"prompt": "Hello!"}'
|
|
18
|
+
*
|
|
19
|
+
* # Start a workflow
|
|
20
|
+
* lindo workflows start publish-page --params '{"page_id": "page-123"}'
|
|
21
|
+
*
|
|
22
|
+
* # Get workflow status
|
|
23
|
+
* lindo workflows status instance-123
|
|
24
|
+
*
|
|
25
|
+
* # Get workspace credits
|
|
26
|
+
* lindo workspace credits
|
|
27
|
+
*
|
|
28
|
+
* # Get analytics
|
|
29
|
+
* lindo analytics workspace --from 2024-01-01 --to 2024-01-31
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Creates and configures the main CLI program.
|
|
35
|
+
*
|
|
36
|
+
* @returns The configured commander program
|
|
37
|
+
*/
|
|
38
|
+
declare function createProgram(): Command;
|
|
39
|
+
|
|
40
|
+
export { createProgram };
|