@lambdaorm/cli 1.6.9 → 1.6.11
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/CHANGELOG.md +23 -0
- package/README.md +83 -299
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.6.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [054ba46]
|
|
8
|
+
- Updated dependencies [f22f330]
|
|
9
|
+
- Updated dependencies [cd0044e]
|
|
10
|
+
- Updated dependencies [877dfa7]
|
|
11
|
+
- Updated dependencies [9554ac8]
|
|
12
|
+
- Updated dependencies [cff14a4]
|
|
13
|
+
- Updated dependencies [317b5f5]
|
|
14
|
+
- Updated dependencies [0deeb1a]
|
|
15
|
+
- @lambdaorm/lib@3.5.4
|
|
16
|
+
- @lambdaorm/base@3.3.2
|
|
17
|
+
- @lambdaorm/client@0.10.1
|
|
18
|
+
|
|
19
|
+
## 1.6.10
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [7f754d1]
|
|
24
|
+
- @lambdaorm/lib@3.5.3
|
|
25
|
+
|
|
3
26
|
## 1.6.9
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,337 +1,121 @@
|
|
|
1
|
-
# λORM CLI
|
|
1
|
+
# λORM CLI — @lambdaorm/cli
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@lambdaorm/cli)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Install the package globally to use the CLI commands to help you create and maintain projects
|
|
8
|
-
|
|
9
|
-
```sh
|
|
10
|
-
npm install lambdaorm-cli -g
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## CLI
|
|
14
|
-
|
|
15
|
-
| Command | Description |
|
|
16
|
-
|:------------|:--------------------------------------------------------------------|
|
|
17
|
-
| version | Prints lambdaorm version this project uses. |
|
|
18
|
-
| init | Generates lambdaorm project structure. |
|
|
19
|
-
| push | Synchronize sources with schema |
|
|
20
|
-
| pull | Synchronize schema whit sources |
|
|
21
|
-
| fetch | Show differences the schema whit sources |
|
|
22
|
-
| introspect | Update schema with structure of data and push |
|
|
23
|
-
| incorporate | Update schema with structure of data, push and importa data |
|
|
24
|
-
| execute | Execute an expression lambda. |
|
|
25
|
-
| metadata | Return metadata of query expression. |
|
|
26
|
-
| parameters | Return parameters of query expression. |
|
|
27
|
-
| model | Return model of query expression. |
|
|
28
|
-
| plan | Return plan execution of query expression. |
|
|
29
|
-
| schema | Return schema information. |
|
|
30
|
-
| import | Import data from file to database. |
|
|
31
|
-
| export | Export data from a database. |
|
|
32
|
-
| build | add configuration, model and repositories according to the language.|
|
|
33
|
-
| drop | Removes all database objects but not the database. |
|
|
34
|
-
|
|
35
|
-
## Usage
|
|
36
|
-
|
|
37
|
-
### version
|
|
38
|
-
|
|
39
|
-
Prints lambdaorm version this project uses.
|
|
40
|
-
|
|
41
|
-
```sh
|
|
42
|
-
lambdaorm version
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
Result:
|
|
46
|
-
|
|
47
|
-
```sh
|
|
48
|
-
Global lambdaorm cli version: 0.9.21
|
|
49
|
-
Local lambdaorm version: 0.8.96
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
### init
|
|
53
|
-
|
|
54
|
-
will create the project folder with the basic structure.
|
|
55
|
-
|
|
56
|
-
```sh
|
|
57
|
-
lambdaorm init -w lab
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
It will generate:
|
|
61
|
-
|
|
62
|
-
```sh
|
|
63
|
-
├── orm_state
|
|
64
|
-
└── lambdaORM.yaml
|
|
65
|
-
```
|
|
6
|
+
📖 **Documentation:** [lambda-orm.github.io/wiki](https://lambda-orm.github.io/wiki) (English, Deutsch, Español, Português)
|
|
66
7
|
|
|
67
|
-
|
|
8
|
+
Your databases from the terminal and from CI, with the [λORM](https://lambda-orm.github.io/wiki/) schema as the
|
|
9
|
+
single source of truth — on MySQL, MariaDB, PostgreSQL, SQL Server, Oracle, MongoDB or SQLite:
|
|
68
10
|
|
|
69
|
-
|
|
11
|
+
- **Schema → databases:** `push` creates and alters the tables (or writes the scripts with `-o`); `fetch` exits with
|
|
12
|
+
code 1 when a database drifted from the schema — a check for your pipeline.
|
|
13
|
+
- **Databases → schema:** `pull` reads the structure of existing databases into the schema.
|
|
14
|
+
- **Data → schema, tables and rows:** `incorporate` takes a JSON file, infers the entities, keys and relations,
|
|
15
|
+
creates the tables and imports the rows — in one command
|
|
16
|
+
([lab](https://github.com/lambda-orm/lambdaorm-labs/tree/main/labs/cli/13-incorporate)).
|
|
17
|
+
- **Move data between engines:** `export` from a stage, `import` into another (MongoDB to PostgreSQL, Oracle to
|
|
18
|
+
MySQL…).
|
|
19
|
+
- **Query from the shell:** `execute`, `plan` (the SQL, without running it), `script` (several queries in one
|
|
20
|
+
transaction).
|
|
21
|
+
- **Code:** `build` generates the typed model and the repositories for TypeScript.
|
|
70
22
|
|
|
71
23
|
```sh
|
|
72
|
-
lambdaorm init -w
|
|
24
|
+
lambdaorm init -w lab -d MySQL # a project: lab/lambdaORM.yaml
|
|
25
|
+
lambdaorm incorporate -w lab -e lab/.env -d countries.json -n Countries # a JSON file → schema, tables and rows
|
|
26
|
+
lambdaorm execute -w lab -e lab/.env -o beautiful -q "Countries.filter(p => p.phoneCode == 54)"
|
|
73
27
|
```
|
|
74
28
|
|
|
75
|
-
|
|
29
|
+
Every command runs locally with a workspace (`-w`), and most of them also on a
|
|
30
|
+
[Data Gateway](https://lambda-orm.github.io/wiki/data-gateway/) (`-u <url>`).
|
|
76
31
|
|
|
77
|
-
|
|
78
|
-
├── orm_state
|
|
79
|
-
└── lambdaORM.yaml
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
### push
|
|
83
|
-
|
|
84
|
-
Synchronize Stage configured in lambdaORM schema with database/s.
|
|
85
|
-
|
|
86
|
-
```sh
|
|
87
|
-
lambdaorm push
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
In the case the default stage is associated with several data sources, it generates a file for each data source and a file with the current model.
|
|
91
|
-
|
|
92
|
-
```sh
|
|
93
|
-
data
|
|
94
|
-
├── default-ddl-20231201T191054280Z-push-Catalog.sql
|
|
95
|
-
├── default-ddl-20231201T191054280Z-push-Crm.sql
|
|
96
|
-
├── default-ddl-20231201T191054281Z-push-Ordering.json
|
|
97
|
-
├── default-model.json
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
### execute
|
|
101
|
-
|
|
102
|
-
Execute an expression lambda.
|
|
103
|
-
|
|
104
|
-
```sh
|
|
105
|
-
lambdaorm execute -e .env -q "Orders.filter(p => p.customerId == customerId).include(p => [p.customer.map(p => p.name), p.details.include(p => p.product.include(p => p.category.map(p => p.name)).map(p => p.name)).map(p => [p.quantity, p.unitPrice])]).page(1,1)" -d "{\"customerId\": \"HANAR\"}"
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
Result:
|
|
109
|
-
|
|
110
|
-
```json
|
|
111
|
-
[
|
|
112
|
-
{
|
|
113
|
-
"id": 3,
|
|
114
|
-
"customerId": "HANAR",
|
|
115
|
-
"employeeId": 4,
|
|
116
|
-
"orderDate": "1996-07-08T00:00:00.000+02:00",
|
|
117
|
-
"requiredDate": "1996-08-05",
|
|
118
|
-
"shippedDate": "1996-07-12",
|
|
119
|
-
"shipViaId": 2,
|
|
120
|
-
"freight": 65.83,
|
|
121
|
-
"name": "Hanari Carnes",
|
|
122
|
-
"address": "Rua do Pao, 67",
|
|
123
|
-
"city": "Rio de Janeiro",
|
|
124
|
-
"region": "RJ",
|
|
125
|
-
"postalCode": "05454-876",
|
|
126
|
-
"country": "Brazil",
|
|
127
|
-
"details": [
|
|
128
|
-
{
|
|
129
|
-
"quantity": 10,
|
|
130
|
-
"unitPrice": 7.7,
|
|
131
|
-
"product": {
|
|
132
|
-
"name": "Jack's New England Clam Chowder",
|
|
133
|
-
"category": {
|
|
134
|
-
"name": "Seafood"
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"quantity": 35,
|
|
140
|
-
"unitPrice": 42.4,
|
|
141
|
-
"product": {
|
|
142
|
-
"name": "Manjimup Dried Apples",
|
|
143
|
-
"category": {
|
|
144
|
-
"name": "Produce"
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"quantity": 15,
|
|
150
|
-
"unitPrice": 16.8,
|
|
151
|
-
"product": {
|
|
152
|
-
"name": "Louisiana Fiery Hot Pepper Sauce",
|
|
153
|
-
"category": {
|
|
154
|
-
"name": "Condiments"
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
],
|
|
159
|
-
"customer": {
|
|
160
|
-
"name": "Hanari Carnes"
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
]
|
|
164
|
-
```
|
|
165
|
-
|
|
166
|
-
In this example:
|
|
167
|
-
|
|
168
|
-
- The .env file is used to obtain the environment variables.
|
|
169
|
-
- The lambda expression is used to obtain an order from the "HANAR" client.
|
|
170
|
-
|
|
171
|
-
### Plan
|
|
172
|
-
|
|
173
|
-
Return plan execution of query expression.
|
|
174
|
-
|
|
175
|
-
```sh
|
|
176
|
-
lambdaorm plan -e .env -s default -q "Orders.filter(p => p.customerId == customerId).include(p => p.customer.map(p => p.name)).order(p=> p.id).page(1,1)" -o beautiful
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
Result:
|
|
180
|
-
|
|
181
|
-
```json
|
|
182
|
-
{
|
|
183
|
-
"entity": "Orders",
|
|
184
|
-
"dialect": "MongoDB",
|
|
185
|
-
"source": "Ordering",
|
|
186
|
-
"sentence": "[{ \"$match\" : { \"CustomerID\":{{customerId}} } }, { \"$project\" :{ \"_id\": 0 , \"id\":\"$_id\", \"customerId\":\"$CustomerID\", \"orderDate\":\"$OrderDate\", \"__customerId\":\"$CustomerID\" }} , { \"$sort\" :{ \"_id\":1 } } , { \"$skip\" : 0 }, { \"$limit\" : 1 } , { \"$project\": { \"_id\": 0 } }]",
|
|
187
|
-
"children": [
|
|
188
|
-
{
|
|
189
|
-
"entity": "Customers",
|
|
190
|
-
"dialect": "PostgreSQL",
|
|
191
|
-
"source": "Crm",
|
|
192
|
-
"sentence": "SELECT c.CompanyName AS \"name\", c.CustomerID AS \"LambdaOrmParentId\" FROM Customers c WHERE c.CustomerID IN ($1) "
|
|
193
|
-
}
|
|
194
|
-
]
|
|
195
|
-
}
|
|
196
|
-
```
|
|
197
|
-
|
|
198
|
-
In this example:
|
|
199
|
-
|
|
200
|
-
- The .env file is used to obtain the environment variables.
|
|
201
|
-
- The Plan obtained is about the stage default.
|
|
202
|
-
- The lambda expression is used to obtain an order from the "HANAR" client.
|
|
203
|
-
- The plan is obtained in a beautiful format.
|
|
204
|
-
|
|
205
|
-
### import
|
|
206
|
-
|
|
207
|
-
Import data from file to datasources asociados a un stage.
|
|
208
|
-
|
|
209
|
-
```sh
|
|
210
|
-
|
|
211
|
-
```sh
|
|
212
|
-
lambdaorm import -e .env -s default -d ./data.json
|
|
213
|
-
```
|
|
214
|
-
|
|
215
|
-
In this example:
|
|
216
|
-
|
|
217
|
-
- The datasources associated with the default stage are known.
|
|
218
|
-
- The .env file is used to obtain environment variables.
|
|
219
|
-
- Data is obtained from data.json file
|
|
220
|
-
|
|
221
|
-
### export
|
|
32
|
+
## Installation
|
|
222
33
|
|
|
223
|
-
|
|
34
|
+
Install the package globally; it adds the `lambdaorm` command:
|
|
224
35
|
|
|
225
36
|
```sh
|
|
226
|
-
|
|
37
|
+
npm i -g @lambdaorm/cli
|
|
38
|
+
lambdaorm --version
|
|
227
39
|
```
|
|
228
40
|
|
|
229
|
-
|
|
41
|
+
It requires Node.js 20 or later. The Docker image of the Data Gateway
|
|
42
|
+
([flaviorita/data-gateway](https://hub.docker.com/r/flaviorita/data-gateway)) already includes the CLI.
|
|
230
43
|
|
|
231
|
-
-
|
|
232
|
-
- The .env file is used to obtain the environment variables.
|
|
233
|
-
- A file called "stage1-export.json" will be created with all the data associated with the stage1 datasources.
|
|
44
|
+
> **Note:** the unscoped `lambdaorm-cli` package is the old one and is no longer maintained.
|
|
234
45
|
|
|
235
|
-
|
|
46
|
+
## Commands
|
|
236
47
|
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
-
|
|
240
|
-
-
|
|
241
|
-
-
|
|
242
|
-
|
|
243
|
-
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
48
|
+
| Command | Description |
|
|
49
|
+
| :-- | :-- |
|
|
50
|
+
| [version](https://lambda-orm.github.io/wiki/cli/Version/) | Prints the CLI version and the `@lambdaorm/lib` version the project uses. |
|
|
51
|
+
| [init](https://lambda-orm.github.io/wiki/cli/Commands/Init/) | Generates the structure of a λORM project. |
|
|
52
|
+
| [build](https://lambda-orm.github.io/wiki/cli/Commands/Build/) | Generates the model and the repositories for the language. |
|
|
53
|
+
| schema | Returns information about the schema. |
|
|
54
|
+
| [push](https://lambda-orm.github.io/wiki/cli/Commands/Push/) | Synchronizes the databases with the model (`-o` writes the scripts instead). |
|
|
55
|
+
| [pull](https://lambda-orm.github.io/wiki/schema/SchemaSynchronization-Pull/) | Updates the schema with the structure of the databases of a stage. |
|
|
56
|
+
| [fetch](https://lambda-orm.github.io/wiki/cli/Commands/Fetch/) | Shows the differences between the databases and the model; exits with code 1 when there are any. |
|
|
57
|
+
| [introspect](https://lambda-orm.github.io/wiki/schema/SchemaSynchronization-Introspect/) | Reads and analyzes a data file and updates the schema. |
|
|
58
|
+
| [incorporate](https://lambda-orm.github.io/wiki/schema/SchemaSynchronization-Incorporate/) | Updates the schema from a data file, pushes the changes to the databases and imports the data. |
|
|
59
|
+
| [drop](https://lambda-orm.github.io/wiki/cli/Commands/Drop/) | Removes all the database objects, but not the database itself. |
|
|
60
|
+
| [import](https://lambda-orm.github.io/wiki/cli/Commands/Import/) | Imports data from a file into the databases. |
|
|
61
|
+
| [export](https://lambda-orm.github.io/wiki/cli/Commands/Export/) | Exports data from the databases. |
|
|
62
|
+
| [execute](https://lambda-orm.github.io/wiki/cli/Commands/Execute/) | Executes a query. |
|
|
63
|
+
| [script](https://lambda-orm.github.io/wiki/cli/Commands/Script/) | Runs a script: several queries in one transaction. |
|
|
64
|
+
| [plan](https://lambda-orm.github.io/wiki/cli/Commands/Plan/) | Returns the execution plan of a query. |
|
|
65
|
+
| [metadata](https://lambda-orm.github.io/wiki/cli/Commands/Metadata/) | Returns the metadata of a query. |
|
|
66
|
+
| [parameters](https://lambda-orm.github.io/wiki/cli/Commands/Parameters/) | Returns the parameters of a query. |
|
|
67
|
+
| [model](https://lambda-orm.github.io/wiki/cli/Commands/Model/) | Returns the model of the result of a query. |
|
|
68
|
+
| [constraints](https://lambda-orm.github.io/wiki/cli/Commands/Constraints/) | Returns the constraints of a query. |
|
|
252
69
|
|
|
253
|
-
|
|
70
|
+
`lambdaorm <command> -h` lists the options of a command; `lambdaorm -h` lists the commands.
|
|
254
71
|
|
|
255
|
-
|
|
256
|
-
├── orm_state
|
|
257
|
-
├── lambdaORM.yaml
|
|
258
|
-
├── package.json
|
|
259
|
-
├── src
|
|
260
|
-
│ └── countries
|
|
261
|
-
│ └── domain
|
|
262
|
-
│ ├── model.ts
|
|
263
|
-
│ ├── repositoryCountry.ts
|
|
264
|
-
│ └── repositoryState.ts
|
|
265
|
-
└── tsconfig.json
|
|
266
|
-
```
|
|
72
|
+
The `sync` command no longer exists: it was replaced by [push](https://lambda-orm.github.io/wiki/cli/Commands/Push/).
|
|
267
73
|
|
|
268
|
-
|
|
74
|
+
## A project, step by step
|
|
269
75
|
|
|
270
76
|
```sh
|
|
271
|
-
lambdaorm
|
|
77
|
+
lambdaorm init -w lab/countries -d PostgreSQL # the workspace and its lambdaORM.yaml
|
|
78
|
+
# edit lab/countries/lambdaORM.yaml (the domain) and lab/countries/.env (the connection)
|
|
79
|
+
lambdaorm push -w lab/countries -e lab/countries/.env # create the tables of the model
|
|
80
|
+
lambdaorm execute -w lab/countries -e lab/countries/.env \
|
|
81
|
+
-q "Countries.bulkInsert().include(p => p.states)" -d ./lab/countries/countries.json
|
|
82
|
+
lambdaorm execute -w lab/countries -e lab/countries/.env -o beautiful \
|
|
83
|
+
-q "Countries.filter(p => p.iso3 == iso3).include(p => p.states)" -d '{"iso3": "ARG"}'
|
|
84
|
+
lambdaorm build -w lab/countries # the model and repositories in TypeScript
|
|
272
85
|
```
|
|
273
86
|
|
|
274
|
-
|
|
87
|
+
On a Data Gateway, the same commands take the URL of the schema instead of the workspace:
|
|
275
88
|
|
|
276
89
|
```sh
|
|
277
|
-
|
|
278
|
-
├── lambdaORM.yaml
|
|
279
|
-
├── package.json
|
|
280
|
-
├── src
|
|
281
|
-
│ ├── index.ts
|
|
282
|
-
│ └── northwind
|
|
283
|
-
│ └── domain
|
|
284
|
-
│ ├── model.ts
|
|
285
|
-
│ ├── repositoryCategory.ts
|
|
286
|
-
│ ├── repositoryCustomer.ts
|
|
287
|
-
│ ├── repositoryOrdersDetail.ts
|
|
288
|
-
│ ├── repositoryOrder.ts
|
|
289
|
-
│ └── repositoryProduct.ts
|
|
290
|
-
└── tsconfig.json
|
|
90
|
+
lambdaorm execute -u http://gateway:8080/iot/v1 -o beautiful -q "Devices.filter(p => p.status == status)" -d '{"status": "active"}'
|
|
291
91
|
```
|
|
292
92
|
|
|
293
|
-
|
|
93
|
+
## Common options
|
|
294
94
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
95
|
+
| Option | Short | Description |
|
|
96
|
+
| :-- | :-- | :-- |
|
|
97
|
+
| workspace | `-w` | Path of the project (the folder with `lambdaORM.yaml`). Default: the current directory. |
|
|
98
|
+
| stage | `-s` | Name of the stage. Default: the first stage of the schema. |
|
|
99
|
+
| envfile | `-e` | Reads a file of environment variables (for example the connection strings). |
|
|
100
|
+
| output | `-o` | Output format of the result: `json`, `beautiful`, `light` or `yaml`. |
|
|
101
|
+
| url | `-u` | URL of the schema on a Data Gateway, to run the command there instead of locally. |
|
|
301
102
|
|
|
302
|
-
|
|
103
|
+
Each command page lists the options that command accepts.
|
|
303
104
|
|
|
304
|
-
|
|
305
|
-
orm_state
|
|
306
|
-
├── default-ddl-20231129T110712162Z-push-Catalog.sql
|
|
307
|
-
├── default-ddl-20231129T110712163Z-push-Crm.sql
|
|
308
|
-
├── default-ddl-20231129T110712163Z-push-Ordering.json
|
|
309
|
-
├── default-ddl-20231129T111730593Z-clean-Catalog.sql
|
|
310
|
-
├── default-ddl-20231129T111730594Z-clean-Crm.sql
|
|
311
|
-
├── default-ddl-20231129T111730594Z-clean-Ordering.json
|
|
312
|
-
├── insights-ddl-20231129T110303423Z-push-Insights.sql
|
|
313
|
-
└── insights-ddl-20231129T111738316Z-clean-Insights.sql
|
|
314
|
-
```
|
|
105
|
+
## Exit code and Data Gateway
|
|
315
106
|
|
|
316
|
-
|
|
107
|
+
Every command exits with code 1 when it fails (from @lambdaorm/cli 1.6.3).
|
|
317
108
|
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
-
|
|
321
|
-
- The clean files associated with each datasource of each stage are generated.
|
|
322
|
-
- The model file associated with each stage is removed.
|
|
109
|
+
Commands run on a Data Gateway with `-u` and the URL of the schema, for example `http://gateway:8080/iot/v1`. When the
|
|
110
|
+
`SERVICE_TOKEN` environment variable is set, it is sent as `Authorization: Bearer <token>` (for a gateway with
|
|
111
|
+
[bearer authentication](https://lambda-orm.github.io/wiki/data-gateway/Security/#authentication)). See also [Clients](https://lambda-orm.github.io/wiki/data-gateway/Clients/#cli).
|
|
323
112
|
|
|
324
113
|
## Documentation
|
|
325
114
|
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
- [Lambda ORM](https://www.npmjs.com/package/lambdaorm)
|
|
331
|
-
- [λORM data-gateway](https://github.com/lambda-orm/core/tree/main/packages/data-gateway)
|
|
332
|
-
- [Client Node](https://www.npmjs.com/package/lambdaorm-client-node)
|
|
333
|
-
- [Client Kotlin](https://github.com/lambda-orm/lambdaorm-client-kotlin)
|
|
115
|
+
- [CLI in the λORM wiki](https://lambda-orm.github.io/wiki/cli/), with a page per command
|
|
116
|
+
- [Change log](CHANGELOG.md)
|
|
117
|
+
- [CLI labs](https://github.com/lambda-orm/lambdaorm-labs/tree/main/labs/cli)
|
|
334
118
|
|
|
335
|
-
##
|
|
119
|
+
## License
|
|
336
120
|
|
|
337
|
-
|
|
121
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lambdaorm/cli",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.11",
|
|
4
4
|
"description": "The lambdaorm command line interface",
|
|
5
5
|
"author": "Flavio Lionel Rita <flaviolrita@proton.me>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"test": "npx jest --config ./jest-config.json"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@lambdaorm/base": "^3.3.
|
|
28
|
-
"@lambdaorm/lib": "^3.5.
|
|
29
|
-
"@lambdaorm/client": "^0.10.
|
|
27
|
+
"@lambdaorm/base": "^3.3.2",
|
|
28
|
+
"@lambdaorm/lib": "^3.5.4",
|
|
29
|
+
"@lambdaorm/client": "^0.10.1",
|
|
30
30
|
"dotenv": "^16.5.0",
|
|
31
31
|
"js-yaml": "^4.1.0",
|
|
32
32
|
"json-light": "^5.0.0",
|