@grepr/cli 1.3.0-994a118 → 1.4.4-7c2bb89
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/LICENSE +183 -21
- package/README.md +106 -30
- package/build/dist/commands/crud-command.d.ts +9 -1
- package/build/dist/commands/crud-command.d.ts.map +1 -1
- package/build/dist/commands/crud-command.js +37 -10
- package/build/dist/commands/crud-command.js.map +1 -1
- package/build/dist/commands/dataset-command.d.ts.map +1 -1
- package/build/dist/commands/dataset-command.js +2 -1
- package/build/dist/commands/dataset-command.js.map +1 -1
- package/build/dist/commands/docs-command.d.ts.map +1 -1
- package/build/dist/commands/docs-command.js +26 -2
- package/build/dist/commands/docs-command.js.map +1 -1
- package/build/dist/commands/grok-command.d.ts +2 -1
- package/build/dist/commands/grok-command.d.ts.map +1 -1
- package/build/dist/commands/grok-command.js +3 -2
- package/build/dist/commands/grok-command.js.map +1 -1
- package/build/dist/commands/integration-command.d.ts.map +1 -1
- package/build/dist/commands/integration-command.js +2 -1
- package/build/dist/commands/integration-command.js.map +1 -1
- package/build/dist/commands/job-command.d.ts +3 -2
- package/build/dist/commands/job-command.d.ts.map +1 -1
- package/build/dist/commands/job-command.js +53 -37
- package/build/dist/commands/job-command.js.map +1 -1
- package/build/dist/commands/job-to-test-command.d.ts.map +1 -1
- package/build/dist/commands/job-to-test-command.js +15 -13
- package/build/dist/commands/job-to-test-command.js.map +1 -1
- package/build/dist/commands/list-command.d.ts +5 -3
- package/build/dist/commands/list-command.d.ts.map +1 -1
- package/build/dist/commands/list-command.js +18 -14
- package/build/dist/commands/list-command.js.map +1 -1
- package/build/dist/commands/query-command.d.ts +15 -0
- package/build/dist/commands/query-command.d.ts.map +1 -1
- package/build/dist/commands/query-command.js +71 -17
- package/build/dist/commands/query-command.js.map +1 -1
- package/build/dist/grepr.js +22 -1
- package/build/dist/grepr.js.map +1 -1
- package/build/dist/lib/auth.d.ts +20 -1
- package/build/dist/lib/auth.d.ts.map +1 -1
- package/build/dist/lib/auth.js +52 -1
- package/build/dist/lib/auth.js.map +1 -1
- package/build/dist/lib/grepr-api-client.d.ts.map +1 -1
- package/build/dist/lib/grepr-api-client.js +13 -1
- package/build/dist/lib/grepr-api-client.js.map +1 -1
- package/build/dist/lib/job-graph-transformer.js +1 -1
- package/build/dist/lib/job-graph-transformer.js.map +1 -1
- package/build/dist/lib/json-formatter.d.ts +2 -1
- package/build/dist/lib/json-formatter.d.ts.map +1 -1
- package/build/dist/lib/json-formatter.js +3 -3
- package/build/dist/lib/json-formatter.js.map +1 -1
- package/build/dist/lib/option-parsers.d.ts +11 -0
- package/build/dist/lib/option-parsers.d.ts.map +1 -0
- package/build/dist/lib/option-parsers.js +13 -0
- package/build/dist/lib/option-parsers.js.map +1 -0
- package/build/dist/lib/output-format.d.ts +16 -0
- package/build/dist/lib/output-format.d.ts.map +1 -0
- package/build/dist/lib/output-format.js +25 -0
- package/build/dist/lib/output-format.js.map +1 -0
- package/build/dist/lib/streaming-job-executor.d.ts +1 -0
- package/build/dist/lib/streaming-job-executor.d.ts.map +1 -1
- package/build/dist/lib/streaming-job-executor.js +28 -9
- package/build/dist/lib/streaming-job-executor.js.map +1 -1
- package/build/dist/openapi/openApiTypes.d.ts +9620 -6655
- package/build/dist/openapi/openApiTypes.d.ts.map +1 -1
- package/build/dist/openapi/openApiTypes.js +470 -344
- package/build/dist/openapi/openApiTypes.js.map +1 -1
- package/build/dist/types.d.ts +5 -4
- package/build/dist/types.d.ts.map +1 -1
- package/build/dist/types.js.map +1 -1
- package/package.json +18 -6
package/LICENSE
CHANGED
|
@@ -1,21 +1,183 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
Copyright 2026-present Grepr, Inc.
|
|
179
|
+
|
|
180
|
+
Unless explicitly stated otherwise all files in this repository are licensed
|
|
181
|
+
under the Apache License Version 2.0.
|
|
182
|
+
|
|
183
|
+
This product includes software developed at Grepr (https://www.grepr.ai/).
|
package/README.md
CHANGED
|
@@ -1,20 +1,25 @@
|
|
|
1
|
-
# Grepr CLI
|
|
1
|
+
# Grepr CLI and Claude Code plugin
|
|
2
2
|
|
|
3
|
-
The
|
|
3
|
+
The Grepr command-line tool (`@grepr/cli`) and a Claude Code plugin that lets Claude drive it for you.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
[](LICENSE)
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Pick your install
|
|
8
|
+
|
|
9
|
+
- **Just the CLI** — [jump to CLI section](#cli)
|
|
10
|
+
- **CLI + Claude Code skills** — [jump to Claude Code plugin section](#claude-code-plugin)
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## CLI
|
|
15
|
+
|
|
16
|
+
### Install
|
|
8
17
|
|
|
9
18
|
```bash
|
|
10
|
-
# Install globally
|
|
11
19
|
npm install -g @grepr/cli
|
|
12
|
-
|
|
13
|
-
# Verify installation
|
|
14
|
-
grepr --help
|
|
15
20
|
```
|
|
16
21
|
|
|
17
|
-
|
|
22
|
+
Alternatives:
|
|
18
23
|
|
|
19
24
|
```bash
|
|
20
25
|
# Run without installing
|
|
@@ -24,48 +29,119 @@ npx @grepr/cli --help
|
|
|
24
29
|
yarn global add @grepr/cli
|
|
25
30
|
```
|
|
26
31
|
|
|
27
|
-
|
|
32
|
+
### Requirements
|
|
28
33
|
|
|
29
|
-
-
|
|
30
|
-
- **npm or yarn** - Usually comes with Node.js
|
|
34
|
+
- Node.js 18.0.0 or higher
|
|
31
35
|
|
|
32
|
-
|
|
36
|
+
### Quick start
|
|
33
37
|
|
|
34
38
|
```bash
|
|
35
39
|
# Save your organization configuration
|
|
36
|
-
grepr --org-name your-org-name config:save myconfig
|
|
40
|
+
grepr --org-name your-org-name config:save myconfig --default
|
|
37
41
|
|
|
38
42
|
# Query your data
|
|
39
43
|
grepr --conf myconfig query --dataset-name "production-logs" --query "level:ERROR"
|
|
40
44
|
|
|
41
|
-
#
|
|
45
|
+
# Create a job from a definition file
|
|
42
46
|
grepr --conf myconfig job:create my-job.json
|
|
43
47
|
```
|
|
44
48
|
|
|
45
|
-
|
|
49
|
+
### Authentication
|
|
50
|
+
|
|
51
|
+
The CLI uses OAuth 2.0 with browser-based login. On the first command that requires access, your browser opens to complete the flow. Tokens are cached locally; subsequent commands don't prompt.
|
|
52
|
+
|
|
53
|
+
### Output formats
|
|
54
|
+
|
|
55
|
+
- **Table** — human-readable (default)
|
|
56
|
+
- **CSV** — for data analysis and spreadsheets
|
|
57
|
+
- **JSON** — machine-readable (pretty, raw, or compact)
|
|
58
|
+
|
|
59
|
+
### Docs
|
|
60
|
+
|
|
61
|
+
Full command reference and advanced usage: [docs.grepr.ai/cli](https://docs.grepr.ai/cli)
|
|
46
62
|
|
|
47
|
-
|
|
63
|
+
---
|
|
48
64
|
|
|
49
|
-
|
|
65
|
+
## Claude Code plugin
|
|
66
|
+
|
|
67
|
+
> **Preview**: this plugin is in early access. Expect rough edges and please [file issues](https://github.com/grepr/cli/issues).
|
|
68
|
+
|
|
69
|
+
Skills for [Claude Code](https://claude.com/claude-code) that let Claude manage your [Grepr](https://grepr.ai) pipelines, datasets, integrations, and queries — no context-switching to docs, no remembering subcommand syntax.
|
|
70
|
+
|
|
71
|
+
### Requirements
|
|
72
|
+
|
|
73
|
+
- [Claude Code](https://claude.com/claude-code) — the CLI, IDE extension, or desktop app
|
|
74
|
+
- Grepr CLI installed and configured (see [CLI section](#cli) above)
|
|
75
|
+
|
|
76
|
+
### Install
|
|
77
|
+
|
|
78
|
+
In Claude Code:
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
/plugin marketplace add grepr/cli
|
|
82
|
+
/plugin install grepr@grepr-cli
|
|
83
|
+
```
|
|
50
84
|
|
|
51
|
-
|
|
85
|
+
### First steps
|
|
52
86
|
|
|
53
|
-
|
|
87
|
+
Try these prompts in Claude Code after install:
|
|
54
88
|
|
|
55
|
-
|
|
89
|
+
> List my running Grepr pipelines.
|
|
90
|
+
|
|
91
|
+
> Build a grok rule that parses NGINX access logs from my `web-api` service.
|
|
92
|
+
|
|
93
|
+
> Debug why pipeline `<id>` isn't producing output.
|
|
94
|
+
|
|
95
|
+
> Query the last hour of error logs from the `production-logs` dataset.
|
|
96
|
+
|
|
97
|
+
Claude will pick the right skill, run the CLI, and walk you through the result.
|
|
98
|
+
|
|
99
|
+
### Skills included
|
|
100
|
+
|
|
101
|
+
| Category | Skill | What it does |
|
|
102
|
+
|---|---|---|
|
|
103
|
+
| Router | `cli` | Dispatches to the right specialized skill based on intent |
|
|
104
|
+
| Commands | `job-commands` | List, view, create, update, delete jobs/pipelines |
|
|
105
|
+
| Commands | `dataset-commands` | Manage data lake datasets |
|
|
106
|
+
| Commands | `integration-commands` | View vendor and storage integrations |
|
|
107
|
+
| Commands | `docs-commands` | Semantic search over Grepr documentation |
|
|
108
|
+
| Queries | `query-logs` | Query data from datasets with filters and time ranges |
|
|
109
|
+
| Workflows | `build-pipeline` | End-to-end pipeline build, from requirements to production |
|
|
110
|
+
| Workflows | `build-grok` | Iterative grok pattern authoring and testing |
|
|
111
|
+
| Workflows | `debug-pipeline` | Troubleshoot pipelines that aren't producing expected output |
|
|
112
|
+
| Knowledge | `grepr-model` | Core Grepr concepts (events, jobs, graphs) — no docs lookup needed |
|
|
113
|
+
| Knowledge | `job-graph-patterns` | Common job graph patterns with examples |
|
|
114
|
+
| Knowledge | `operations-reference` | Reference for available Grepr sources, transforms, and sinks |
|
|
115
|
+
|
|
116
|
+
### Invocation
|
|
117
|
+
|
|
118
|
+
Claude Code lists skills by short name (e.g., `/build-grok`) with a `(grepr)` annotation in autocomplete. You can also invoke any skill by its fully-qualified name (e.g., `/grepr:build-grok`) — both forms work. The prefix becomes mandatory only if another installed plugin defines a skill with the same name.
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## Updating
|
|
123
|
+
|
|
124
|
+
**CLI:**
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
npm update -g @grepr/cli
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
**Plugin:**
|
|
131
|
+
|
|
132
|
+
```
|
|
133
|
+
/plugin marketplace update grepr-cli
|
|
134
|
+
/plugin install grepr@grepr-cli
|
|
135
|
+
```
|
|
56
136
|
|
|
57
|
-
|
|
137
|
+
---
|
|
58
138
|
|
|
59
|
-
|
|
60
|
-
- **CSV** - For data analysis and spreadsheets
|
|
61
|
-
- **JSON** - Machine-readable formats (pretty, raw, compact)
|
|
139
|
+
## Issues and feedback
|
|
62
140
|
|
|
63
|
-
|
|
141
|
+
Bug reports and feature requests go to [github.com/grepr/cli/issues](https://github.com/grepr/cli/issues). For Grepr platform questions, see [docs.grepr.ai](https://docs.grepr.ai) or contact `support@grepr.ai`.
|
|
64
142
|
|
|
65
|
-
|
|
66
|
-
- **Issues**: Contact your Grepr administrator
|
|
67
|
-
- **Version**: Run `grepr --version`
|
|
143
|
+
---
|
|
68
144
|
|
|
69
145
|
## License
|
|
70
146
|
|
|
71
|
-
|
|
147
|
+
Apache-2.0. See [LICENSE](LICENSE).
|
|
@@ -3,12 +3,13 @@ import { JsonFormatter } from '../lib/json-formatter.js';
|
|
|
3
3
|
import { ICommand } from '../lib/command-registry.js';
|
|
4
4
|
import { GreprApiClient } from '../lib/api-client.js';
|
|
5
5
|
import { ApiClientFactoryOptions } from '../lib/api-client-factory.js';
|
|
6
|
+
import { OutputFormat } from '../lib/output-format.js';
|
|
6
7
|
import { CommandOption, MergeConfiguration } from '../types.js';
|
|
7
8
|
export interface CrudCommandOptions extends ApiClientFactoryOptions {
|
|
8
9
|
quiet?: boolean;
|
|
9
10
|
timezone?: string;
|
|
10
11
|
output?: string;
|
|
11
|
-
format?:
|
|
12
|
+
format?: OutputFormat;
|
|
12
13
|
sort?: string;
|
|
13
14
|
color?: boolean;
|
|
14
15
|
timestamps?: boolean;
|
|
@@ -58,6 +59,13 @@ export declare abstract class CrudCommand<T extends CrudCommandOptions> implemen
|
|
|
58
59
|
* Whether this command supports create operations
|
|
59
60
|
*/
|
|
60
61
|
protected supportsCreate(): boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Subclasses override this when they register their own `:create` command
|
|
64
|
+
* (e.g. JobCrudCommand registers a version with extra streaming-format
|
|
65
|
+
* options). Returning true tells addToProgram to skip the default create
|
|
66
|
+
* registration so the command isn't double-registered.
|
|
67
|
+
*/
|
|
68
|
+
protected hasCustomCreate(): boolean;
|
|
61
69
|
/**
|
|
62
70
|
* Whether this command supports update operations
|
|
63
71
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"crud-command.d.ts","sourceRoot":"","sources":["../../../src/main/typescript/commands/crud-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,aAAa,EAAwB,MAAM,0BAA0B,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAmB,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACxF,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAwB,MAAM,aAAa,CAAC;AAEtF,MAAM,WAAW,kBAAmB,SAAQ,uBAAuB;IACjE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"crud-command.d.ts","sourceRoot":"","sources":["../../../src/main/typescript/commands/crud-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,aAAa,EAAwB,MAAM,0BAA0B,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAmB,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACxF,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAwB,MAAM,aAAa,CAAC;AAEtF,MAAM,WAAW,kBAAmB,SAAQ,uBAAuB;IACjE,KAAK,CAAC,EAAE,OAAO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S,CAAC,eAAe,IAAI,OAAO;IAIpC;;OAEG;IACH,SAAS,CAAC,cAAc,IAAI,OAAO;IAInC;;OAEG;IACH,SAAS,CAAC,cAAc,IAAI,OAAO;IAInC;;OAEG;IACH,SAAS,CAAC,aAAa,IAAI,aAAa,EAAE;IAI1C;;OAEG;IACH,SAAS,CAAC,gBAAgB,IAAI,aAAa,EAAE;IAI7C;;OAEG;IACH,YAAY,CACV,OAAO,EAAE,OAAO,EAChB,kBAAkB,EAAE,kBAAkB,GACrC,IAAI;IAmIP;;OAEG;IACH,SAAS,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC,GAAG,IAAI;IAkB1C;;OAEG;IACH,SAAS,CAAC,eAAe,CAAC,OAAO,EAAE,CAAC,GAAG,cAAc;IAIrD;;OAEG;cACa,qBAAqB,CACnC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,OAAO,EAAE,CAAC,GACT,OAAO,CAAC,IAAI,CAAC;IAyBhB;;OAEG;cACa,oBAAoB,CAAC,SAAS,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC;IAmBzF;;OAEG;IACH,SAAS,CAAC,iBAAiB,CAAC,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,GAAG,IAAI;IAMvF;;OAEG;IACH,SAAS,CAAC,iBAAiB,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,GAAG,IAAI;IAMjE;;OAEG;IACH,SAAS,CAAC,iBAAiB,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,GAAG,IAAI;CAKlE"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import fs from 'fs-extra';
|
|
2
2
|
import { JsonFormatter } from '../lib/json-formatter.js';
|
|
3
3
|
import { createApiClient } from '../lib/api-client-factory.js';
|
|
4
|
+
import { parseIntArg } from '../lib/option-parsers.js';
|
|
4
5
|
/**
|
|
5
6
|
* Base class for CRUD commands (job:*, integration:*, dataset:*)
|
|
6
7
|
* Provides common functionality for create, read, update, delete operations
|
|
@@ -44,6 +45,15 @@ export class CrudCommand {
|
|
|
44
45
|
supportsCreate() {
|
|
45
46
|
return true;
|
|
46
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* Subclasses override this when they register their own `:create` command
|
|
50
|
+
* (e.g. JobCrudCommand registers a version with extra streaming-format
|
|
51
|
+
* options). Returning true tells addToProgram to skip the default create
|
|
52
|
+
* registration so the command isn't double-registered.
|
|
53
|
+
*/
|
|
54
|
+
hasCustomCreate() {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
47
57
|
/**
|
|
48
58
|
* Whether this command supports update operations
|
|
49
59
|
*/
|
|
@@ -76,7 +86,7 @@ export class CrudCommand {
|
|
|
76
86
|
const resourceName = this.getResourceName();
|
|
77
87
|
// Get command
|
|
78
88
|
if (this.supportsGet()) {
|
|
79
|
-
program
|
|
89
|
+
let getCommand = program
|
|
80
90
|
.command(`${prefix}:get <id>`)
|
|
81
91
|
.description(`Get a specific ${resourceName} by ID`)
|
|
82
92
|
.option('-f, --format <format>', 'Output format (table, csv, pretty, raw, compact)', 'pretty')
|
|
@@ -84,9 +94,26 @@ export class CrudCommand {
|
|
|
84
94
|
.option('--no-color', 'Disable colored output')
|
|
85
95
|
.option('--no-timestamps', 'Hide timestamps')
|
|
86
96
|
.option('--no-job-state', 'Hide job state messages')
|
|
87
|
-
.option('--max-depth <number>', 'Maximum object nesting depth for table columns',
|
|
88
|
-
.option('--max-lines <number>', 'Maximum lines per table cell',
|
|
89
|
-
|
|
97
|
+
.option('--max-depth <number>', 'Maximum object nesting depth for table columns', parseIntArg, 1)
|
|
98
|
+
.option('--max-lines <number>', 'Maximum lines per table cell', parseIntArg, 4);
|
|
99
|
+
// Add subclass-specific options (e.g. --version and --resolved for jobs).
|
|
100
|
+
// Mirrors the wiring used by the update command below; without this the
|
|
101
|
+
// options declared in getGetOptions() are silently ignored.
|
|
102
|
+
this.getGetOptions().forEach(option => {
|
|
103
|
+
if (option.parser && option.defaultValue !== undefined) {
|
|
104
|
+
getCommand = getCommand.option(option.flags, option.description, option.parser, option.defaultValue);
|
|
105
|
+
}
|
|
106
|
+
else if (option.parser) {
|
|
107
|
+
getCommand = getCommand.option(option.flags, option.description, option.parser);
|
|
108
|
+
}
|
|
109
|
+
else if (option.defaultValue !== undefined) {
|
|
110
|
+
getCommand = getCommand.option(option.flags, option.description, option.defaultValue);
|
|
111
|
+
}
|
|
112
|
+
else {
|
|
113
|
+
getCommand = getCommand.option(option.flags, option.description);
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
getCommand.action(async (resourceId, options, command) => {
|
|
90
117
|
try {
|
|
91
118
|
const globalOptions = command.parent?.opts() || {};
|
|
92
119
|
const mergedGlobalOptions = await mergeConfiguration(globalOptions);
|
|
@@ -103,8 +130,8 @@ export class CrudCommand {
|
|
|
103
130
|
}
|
|
104
131
|
});
|
|
105
132
|
}
|
|
106
|
-
// Create command
|
|
107
|
-
if (this.supportsCreate()) {
|
|
133
|
+
// Create command (skipped when a subclass registers a custom one)
|
|
134
|
+
if (this.supportsCreate() && !this.hasCustomCreate()) {
|
|
108
135
|
program
|
|
109
136
|
.command(`${prefix}:create <${resourceName}-file>`)
|
|
110
137
|
.description(`Create a new ${resourceName} from file`)
|
|
@@ -241,10 +268,10 @@ export class CrudCommand {
|
|
|
241
268
|
throw new Error(`${this.getResourceName()} definition file not found: ${resourceFile}`);
|
|
242
269
|
}
|
|
243
270
|
const resourceData = await fs.readJson(resourceFile);
|
|
244
|
-
//
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
271
|
+
// Leave shape validation to the server — different operations need
|
|
272
|
+
// different shapes (e.g. Job.UpdateApi has no `name` field but does
|
|
273
|
+
// require `fromVersion`/`desiredState`). Client-side name-only checks
|
|
274
|
+
// were rejecting otherwise-valid update payloads.
|
|
248
275
|
return resourceData;
|
|
249
276
|
}
|
|
250
277
|
catch (error) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"crud-command.js","sourceRoot":"","sources":["../../../src/main/typescript/commands/crud-command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAwB,MAAM,0BAA0B,CAAC;AAG/E,OAAO,EAAE,eAAe,EAA2B,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"crud-command.js","sourceRoot":"","sources":["../../../src/main/typescript/commands/crud-command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAwB,MAAM,0BAA0B,CAAC;AAG/E,OAAO,EAAE,eAAe,EAA2B,MAAM,8BAA8B,CAAC;AAExF,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAoBvD;;;GAGG;AACH,MAAM,OAAgB,WAAW;IACrB,SAAS,GAAyB,IAAI,CAAC;IACvC,SAAS,GAA0B,IAAI,CAAC;IAYlD;;OAEG;IACH,KAAK,CAAC,UAAU,CAAC,WAAmB,EAAE,QAAW;QAC/C,MAAM,IAAI,KAAK,CAAC,GAAG,IAAI,CAAC,eAAe,EAAE,iCAAiC,CAAC,CAAC;IAC9E,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,aAAa,CAAC,QAAiC;QACnD,MAAM,IAAI,KAAK,CAAC,GAAG,IAAI,CAAC,eAAe,EAAE,oCAAoC,CAAC,CAAC;IACjF,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,aAAa,CAAC,WAAmB,EAAE,QAAiC;QACxE,MAAM,IAAI,KAAK,CAAC,GAAG,IAAI,CAAC,eAAe,EAAE,oCAAoC,CAAC,CAAC;IACjF,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,aAAa,CAAC,WAAmB,EAAE,QAAW;QAClD,MAAM,IAAI,KAAK,CAAC,GAAG,IAAI,CAAC,eAAe,EAAE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;IACH,CAAC;IAED;;OAEG;IACO,iBAAiB,CAAC,eAAwC,EAAE,OAAU;QAC9E,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;YACnB,OAAO,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC,eAAe,EAAE,kCAAkC,eAAe,CAAC,EAAE,EAAE,CAAC,CAAC;QACjG,CAAC;IACH,CAAC;IAED;;OAEG;IACO,iBAAiB,CAAC,UAAkB,EAAE,OAAU;QACxD,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;YACnB,OAAO,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC,eAAe,EAAE,IAAI,UAAU,uBAAuB,CAAC,CAAC;QAChF,CAAC;IACH,CAAC;IAED;;OAEG;IACO,iBAAiB,CAAC,UAAkB,EAAE,OAAU;QACxD,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;YACnB,OAAO,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC,eAAe,EAAE,IAAI,UAAU,uBAAuB,CAAC,CAAC;QAChF,CAAC;IACH,CAAC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataset-command.d.ts","sourceRoot":"","sources":["../../../src/main/typescript/commands/dataset-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"dataset-command.d.ts","sourceRoot":"","sources":["../../../src/main/typescript/commands/dataset-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,kBAAkB,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pF;;OAEG;IACH,YAAY,CACV,OAAO,EAAE,OAAO,EAChB,kBAAkB,EAAE,kBAAkB,GACrC,IAAI;CAeR"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ListCommand } from './list-command.js';
|
|
2
2
|
import { CrudCommand } from './crud-command.js';
|
|
3
|
+
import { logHumanFooter } from '../lib/output-format.js';
|
|
3
4
|
/**
|
|
4
5
|
* Dataset list command implementation using the new architecture
|
|
5
6
|
*/
|
|
@@ -70,7 +71,7 @@ export class DatasetCrudCommand extends CrudCommand {
|
|
|
70
71
|
}
|
|
71
72
|
await this.formatAndOutputSingle(dataset, options);
|
|
72
73
|
if (!options.quiet) {
|
|
73
|
-
|
|
74
|
+
logHumanFooter(options.format, `\nDataset Details:\n- ID: ${dataset.id}\n- Name: ${dataset.name}`);
|
|
74
75
|
}
|
|
75
76
|
}
|
|
76
77
|
catch (error) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataset-command.js","sourceRoot":"","sources":["../../../src/main/typescript/commands/dataset-command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAsB,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAAE,WAAW,EAA+C,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"dataset-command.js","sourceRoot":"","sources":["../../../src/main/typescript/commands/dataset-command.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAsB,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAAE,WAAW,EAA+C,MAAM,mBAAmB,CAAC;AAC7F,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAezD;;GAEG;AACH,MAAM,OAAO,kBAAmB,SAAQ,WAAsC;IAC5E,cAAc;QACZ,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,qBAAqB;QACnB,OAAO,uCAAuC,CAAC;IACjD,CAAC;IAED,iBAAiB;QACf,OAAO;QACL,iEAAiE;SAClE,CAAC;IACJ,CAA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