@w6w/cli 0.9.24 → 0.9.28

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.
@@ -17,7 +17,7 @@
17
17
  /** The command tree, generated from the shared wrapper surface contract. */
18
18
  export const HELP_TREE = {
19
19
  "binary": "w6w",
20
- "contractVersion": "0.13.0",
20
+ "contractVersion": "0.15.0",
21
21
  "tagline": "command-line client for the w6w workflow platform",
22
22
  "usage": "w6w <command> [options]",
23
23
  "docsUrl": "https://w6w.dev/docs/cli",
@@ -4825,6 +4825,1161 @@ export const HELP_TREE = {
4825
4825
  "w6w agents get ag_01HQ8N",
4826
4826
  ],
4827
4827
  },
4828
+ {
4829
+ "name": "app-management",
4830
+ "summary": "List, preview, register, edit the source of, sync and remove the apps you manage",
4831
+ "headline": "list, preview, register, edit the source of, sync and remove the apps you manage",
4832
+ "usage": "w6w app-management <command> [options]",
4833
+ "commands": [
4834
+ {
4835
+ "operation": "appManagement.list",
4836
+ "path": [
4837
+ "app-management",
4838
+ "list",
4839
+ ],
4840
+ "name": "list",
4841
+ "aliases": [],
4842
+ "summary": "List the apps the caller manages, with live management state per row.",
4843
+ "short": "List the apps the caller manages, with live management state per row",
4844
+ "headline": "list the apps the caller manages, with live management state per row",
4845
+ "usage": "w6w app-management list [options]",
4846
+ "naming": "w6w app-management list [--scope <scope>] [--q <q>] [--sort <sort>] [--compact] [--snapshot <t>] [--cursor <c>] [--offset <n>] [--limit <n>]",
4847
+ "status": "required",
4848
+ "params": [
4849
+ {
4850
+ "name": "scope",
4851
+ "kind": "flag",
4852
+ "display": "--scope <scope>",
4853
+ "description": "Which apps: all (default), account, tenant or personal",
4854
+ "required": false,
4855
+ },
4856
+ {
4857
+ "name": "q",
4858
+ "kind": "flag",
4859
+ "display": "--q <q>",
4860
+ "description": "Search text",
4861
+ "required": false,
4862
+ },
4863
+ {
4864
+ "name": "sort",
4865
+ "kind": "flag",
4866
+ "display": "--sort <sort>",
4867
+ "description": "Order: name (default), -name, recent or -recent",
4868
+ "required": false,
4869
+ },
4870
+ {
4871
+ "name": "compact",
4872
+ "kind": "flag",
4873
+ "display": "--compact",
4874
+ "description": "Return compact rows",
4875
+ "required": false,
4876
+ },
4877
+ {
4878
+ "name": "snapshot",
4879
+ "kind": "flag",
4880
+ "display": "--snapshot <t>",
4881
+ "description": "Snapshot token from a previous page (not with --cursor)",
4882
+ "required": false,
4883
+ },
4884
+ {
4885
+ "name": "cursor",
4886
+ "kind": "flag",
4887
+ "display": "--cursor <c>",
4888
+ "description": "The previous page's nextCursor (not with --snapshot)",
4889
+ "required": false,
4890
+ },
4891
+ {
4892
+ "name": "offset",
4893
+ "kind": "flag",
4894
+ "display": "--offset <n>",
4895
+ "description": "Row offset (a non-negative integer)",
4896
+ "required": false,
4897
+ },
4898
+ {
4899
+ "name": "limit",
4900
+ "kind": "flag",
4901
+ "display": "--limit <n>",
4902
+ "description": "Page size (a positive integer)",
4903
+ "required": false,
4904
+ },
4905
+ {
4906
+ "name": "json",
4907
+ "kind": "flag",
4908
+ "display": "--json",
4909
+ "description": "Output raw JSON instead of a table",
4910
+ "required": false,
4911
+ },
4912
+ ],
4913
+ "examples": [
4914
+ "w6w app-management list",
4915
+ "w6w app-management list --scope account --sort=-recent --limit 20",
4916
+ ],
4917
+ "notes": [],
4918
+ },
4919
+ {
4920
+ "operation": "appManagement.get",
4921
+ "path": [
4922
+ "app-management",
4923
+ "get",
4924
+ ],
4925
+ "name": "get",
4926
+ "aliases": [],
4927
+ "summary": "Fetch one managed app: catalog detail plus management, source and last sync.",
4928
+ "short": "Fetch one managed app: catalog detail plus management, source and last sync",
4929
+ "headline": "fetch one managed app: catalog detail plus management, source and last sync",
4930
+ "usage": "w6w app-management get <id> [options]",
4931
+ "naming": "w6w app-management get <id>",
4932
+ "status": "required",
4933
+ "params": [
4934
+ {
4935
+ "name": "id",
4936
+ "kind": "argument",
4937
+ "display": "<id>",
4938
+ "description": "App id (see: w6w app-management list). An app you cannot see is a 404",
4939
+ "required": true,
4940
+ },
4941
+ {
4942
+ "name": "json",
4943
+ "kind": "flag",
4944
+ "display": "--json",
4945
+ "description": "Output raw JSON instead of a table",
4946
+ "required": false,
4947
+ },
4948
+ ],
4949
+ "examples": [
4950
+ "w6w app-management get sendgrid",
4951
+ ],
4952
+ "notes": [],
4953
+ },
4954
+ {
4955
+ "operation": "appManagement.preview",
4956
+ "path": [
4957
+ "app-management",
4958
+ "preview",
4959
+ ],
4960
+ "name": "preview",
4961
+ "aliases": [],
4962
+ "summary": "Preview a source for a target without registering anything.",
4963
+ "short": "Preview a source for a target without registering anything",
4964
+ "headline": "preview a source for a target without registering anything",
4965
+ "usage": "w6w app-management preview <source> --target <target> [options]",
4966
+ "naming": "w6w app-management preview <source> --target <target>",
4967
+ "status": "required",
4968
+ "params": [
4969
+ {
4970
+ "name": "source",
4971
+ "kind": "argument",
4972
+ "display": "<source>",
4973
+ "description": 'A canonical remote ref (e.g. github:owner/repo), or a JSON object {"folder":{"grant":"…","path":"…"}} naming a path inside a granted server folder',
4974
+ "required": true,
4975
+ },
4976
+ {
4977
+ "name": "target",
4978
+ "kind": "flag",
4979
+ "display": "--target <target>",
4980
+ "description": "Where it would go: account, tenant or personal (the server's targets list says which you may use)",
4981
+ "required": true,
4982
+ },
4983
+ {
4984
+ "name": "json",
4985
+ "kind": "flag",
4986
+ "display": "--json",
4987
+ "description": "Output raw JSON instead of a table",
4988
+ "required": false,
4989
+ },
4990
+ ],
4991
+ "examples": [
4992
+ "w6w app-management preview github:acme/app --target account",
4993
+ ],
4994
+ "notes": [],
4995
+ },
4996
+ {
4997
+ "operation": "appManagement.register",
4998
+ "path": [
4999
+ "app-management",
5000
+ "register",
5001
+ ],
5002
+ "name": "register",
5003
+ "aliases": [],
5004
+ "summary": "Register an app or pack from a source into a target.",
5005
+ "short": "Register an app or pack from a source into a target",
5006
+ "headline": "register an app or pack from a source into a target",
5007
+ "usage": "w6w app-management register --target <target> <source> [options]",
5008
+ "naming": "w6w app-management register <source> --target <target> [--paths <a,b>]",
5009
+ "status": "required",
5010
+ "params": [
5011
+ {
5012
+ "name": "target",
5013
+ "kind": "flag",
5014
+ "display": "--target <target>",
5015
+ "description": "Where to register it: account, tenant or personal (the server's targets list says which you may use)",
5016
+ "required": true,
5017
+ },
5018
+ {
5019
+ "name": "source",
5020
+ "kind": "argument",
5021
+ "display": "<source>",
5022
+ "description": 'A canonical remote ref (e.g. github:owner/repo), or a JSON object {"folder":{"grant":"…","path":"…"}} naming a path inside a granted server folder',
5023
+ "required": true,
5024
+ },
5025
+ {
5026
+ "name": "paths",
5027
+ "kind": "flag",
5028
+ "display": "--paths <a,b>",
5029
+ "description": "Pack sources only: comma-separated paths of the entries to register",
5030
+ "required": false,
5031
+ },
5032
+ {
5033
+ "name": "json",
5034
+ "kind": "flag",
5035
+ "display": "--json",
5036
+ "description": "Output raw JSON instead of a table",
5037
+ "required": false,
5038
+ },
5039
+ ],
5040
+ "examples": [
5041
+ "w6w app-management register github:acme/app --target account",
5042
+ 'w6w app-management register \'{"folder":{"grant":"sgr_01HQ8N","path":"./my-app"}}\' --target personal',
5043
+ ],
5044
+ "notes": [],
5045
+ },
5046
+ {
5047
+ "operation": "appManagement.updateSource",
5048
+ "path": [
5049
+ "app-management",
5050
+ "update-source",
5051
+ ],
5052
+ "name": "update-source",
5053
+ "aliases": [],
5054
+ "summary": "Validate a candidate source and, if it loads, make it the app's active source.",
5055
+ "short": "Validate a candidate source and, if it loads, make it the app's active source",
5056
+ "headline": "validate a candidate source and, if it loads, make it the app's active source",
5057
+ "usage": "w6w app-management update-source <id> <source> --expected-revision <value> [options]",
5058
+ "naming": "w6w app-management update-source <id> <source> --expected-revision <n>",
5059
+ "status": "required",
5060
+ "params": [
5061
+ {
5062
+ "name": "id",
5063
+ "kind": "argument",
5064
+ "display": "<id>",
5065
+ "description": "App id (see: w6w app-management list)",
5066
+ "required": true,
5067
+ },
5068
+ {
5069
+ "name": "source",
5070
+ "kind": "argument",
5071
+ "display": "<source>",
5072
+ "description": 'A canonical remote ref (e.g. github:owner/repo), or a JSON object {"folder":{"grant":"…","path":"…"}} naming a path inside a granted server folder',
5073
+ "required": true,
5074
+ },
5075
+ {
5076
+ "name": "expectedRevision",
5077
+ "kind": "flag",
5078
+ "display": "--expected-revision <value>",
5079
+ "description": "The source revision you read (0 when no source is set); a mismatch is a 409",
5080
+ "required": true,
5081
+ },
5082
+ {
5083
+ "name": "json",
5084
+ "kind": "flag",
5085
+ "display": "--json",
5086
+ "description": "Output raw JSON instead of a table",
5087
+ "required": false,
5088
+ },
5089
+ ],
5090
+ "examples": [
5091
+ "w6w app-management update-source sendgrid github:acme/app@v2 --expected-revision 3",
5092
+ ],
5093
+ "notes": [],
5094
+ },
5095
+ {
5096
+ "operation": "appManagement.sync",
5097
+ "path": [
5098
+ "app-management",
5099
+ "sync",
5100
+ ],
5101
+ "name": "sync",
5102
+ "aliases": [],
5103
+ "summary": "Re-fetch the app's active source and update the registry.",
5104
+ "short": "Re-fetch the app's active source and update the registry",
5105
+ "headline": "re-fetch the app's active source and update the registry",
5106
+ "usage": "w6w app-management sync <id> [options]",
5107
+ "naming": "w6w app-management sync <id> [--expected-revision <n>]",
5108
+ "status": "required",
5109
+ "params": [
5110
+ {
5111
+ "name": "id",
5112
+ "kind": "argument",
5113
+ "display": "<id>",
5114
+ "description": "App id (see: w6w app-management list)",
5115
+ "required": true,
5116
+ },
5117
+ {
5118
+ "name": "expectedRevision",
5119
+ "kind": "flag",
5120
+ "display": "--expected-revision <value>",
5121
+ "description": "Refuse with a 409 unless this is the current source revision",
5122
+ "required": false,
5123
+ },
5124
+ {
5125
+ "name": "json",
5126
+ "kind": "flag",
5127
+ "display": "--json",
5128
+ "description": "Output raw JSON instead of a table",
5129
+ "required": false,
5130
+ },
5131
+ ],
5132
+ "examples": [
5133
+ "w6w app-management sync sendgrid",
5134
+ "w6w app-management sync sendgrid --expected-revision 3",
5135
+ ],
5136
+ "notes": [],
5137
+ },
5138
+ {
5139
+ "operation": "appManagement.remove",
5140
+ "path": [
5141
+ "app-management",
5142
+ "remove",
5143
+ ],
5144
+ "name": "remove",
5145
+ "aliases": [],
5146
+ "summary": "Remove an app: all its versions and its source row.",
5147
+ "short": "Remove an app: all its versions and its source row",
5148
+ "headline": "remove an app: all its versions and its source row",
5149
+ "usage": "w6w app-management remove <id> [options]",
5150
+ "naming": "w6w app-management remove <id>",
5151
+ "status": "required",
5152
+ "params": [
5153
+ {
5154
+ "name": "id",
5155
+ "kind": "argument",
5156
+ "display": "<id>",
5157
+ "description": "App id (see: w6w app-management list). An app you cannot see is a 404",
5158
+ "required": true,
5159
+ },
5160
+ {
5161
+ "name": "json",
5162
+ "kind": "flag",
5163
+ "display": "--json",
5164
+ "description": "Output raw JSON instead of a table",
5165
+ "required": false,
5166
+ },
5167
+ ],
5168
+ "examples": [
5169
+ "w6w app-management remove sendgrid",
5170
+ ],
5171
+ "notes": [],
5172
+ },
5173
+ ],
5174
+ "options": [],
5175
+ "examples": [
5176
+ "w6w app-management list --scope account",
5177
+ "w6w app-management preview github:acme/app --target account",
5178
+ ],
5179
+ },
5180
+ {
5181
+ "name": "data-stores",
5182
+ "summary": "Create and edit data stores, import and export CSV, and read and write their entries",
5183
+ "headline": "create and edit data stores, import and export CSV, and read and write their entries",
5184
+ "usage": "w6w data-stores <command> [options]",
5185
+ "commands": [
5186
+ {
5187
+ "operation": "dataStores.list",
5188
+ "path": [
5189
+ "data-stores",
5190
+ "list",
5191
+ ],
5192
+ "name": "list",
5193
+ "aliases": [],
5194
+ "summary": "List the project's data stores.",
5195
+ "short": "List the project's data stores",
5196
+ "headline": "list the project's data stores",
5197
+ "usage": "w6w data-stores list [options]",
5198
+ "naming": "w6w data-stores list [--kind <kv|doc|table>] [--cursor <c>] [--limit <n>] [--project <id>]",
5199
+ "status": "required",
5200
+ "params": [
5201
+ {
5202
+ "name": "kind",
5203
+ "kind": "flag",
5204
+ "display": "--kind <kv|doc|table>",
5205
+ "description": "Only stores of this kind: kv | doc | table",
5206
+ "required": false,
5207
+ },
5208
+ {
5209
+ "name": "cursor",
5210
+ "kind": "flag",
5211
+ "display": "--cursor <c>",
5212
+ "description": "The previous page's nextCursor",
5213
+ "required": false,
5214
+ },
5215
+ {
5216
+ "name": "limit",
5217
+ "kind": "flag",
5218
+ "display": "--limit <n>",
5219
+ "description": "Page size (a positive integer)",
5220
+ "required": false,
5221
+ },
5222
+ {
5223
+ "name": "project",
5224
+ "kind": "flag",
5225
+ "display": "--project <id>",
5226
+ "description": "Project to scope this call to (default: the client's, else the account's default)",
5227
+ "required": false,
5228
+ },
5229
+ {
5230
+ "name": "json",
5231
+ "kind": "flag",
5232
+ "display": "--json",
5233
+ "description": "Output raw JSON instead of a table",
5234
+ "required": false,
5235
+ },
5236
+ ],
5237
+ "examples": [
5238
+ "w6w data-stores list",
5239
+ "w6w data-stores list --kind table --limit 20",
5240
+ ],
5241
+ "notes": [],
5242
+ },
5243
+ {
5244
+ "operation": "dataStores.get",
5245
+ "path": [
5246
+ "data-stores",
5247
+ "get",
5248
+ ],
5249
+ "name": "get",
5250
+ "aliases": [],
5251
+ "summary": "Fetch one data store by id.",
5252
+ "short": "Fetch one data store by id",
5253
+ "headline": "fetch one data store by id",
5254
+ "usage": "w6w data-stores get <id> [options]",
5255
+ "naming": "w6w data-stores get <id> [--project <id>]",
5256
+ "status": "required",
5257
+ "params": [
5258
+ {
5259
+ "name": "id",
5260
+ "kind": "argument",
5261
+ "display": "<id>",
5262
+ "description": "Data store id (see: `w6w data-stores list`)",
5263
+ "required": true,
5264
+ },
5265
+ {
5266
+ "name": "project",
5267
+ "kind": "flag",
5268
+ "display": "--project <id>",
5269
+ "description": "Project to scope this call to (default: the client's, else the account's default)",
5270
+ "required": false,
5271
+ },
5272
+ {
5273
+ "name": "json",
5274
+ "kind": "flag",
5275
+ "display": "--json",
5276
+ "description": "Output raw JSON instead of a table",
5277
+ "required": false,
5278
+ },
5279
+ ],
5280
+ "examples": [
5281
+ "w6w data-stores get ds_01HQ8N",
5282
+ ],
5283
+ "notes": [],
5284
+ },
5285
+ {
5286
+ "operation": "dataStores.create",
5287
+ "path": [
5288
+ "data-stores",
5289
+ "create",
5290
+ ],
5291
+ "name": "create",
5292
+ "aliases": [],
5293
+ "summary": "Create a data store.",
5294
+ "short": "Create a data store",
5295
+ "headline": "create a data store",
5296
+ "usage": "w6w data-stores create --kind <kv|doc|table> <name> [options]",
5297
+ "naming": "w6w data-stores create <name> --kind <kv|doc|table> [--description <d>] [--schema <json>] [--project <id>]",
5298
+ "status": "required",
5299
+ "params": [
5300
+ {
5301
+ "name": "kind",
5302
+ "kind": "flag",
5303
+ "display": "--kind <kv|doc|table>",
5304
+ "description": "Store kind: kv | doc | table",
5305
+ "required": true,
5306
+ },
5307
+ {
5308
+ "name": "name",
5309
+ "kind": "argument",
5310
+ "display": "<name>",
5311
+ "description": "Store name",
5312
+ "required": true,
5313
+ },
5314
+ {
5315
+ "name": "description",
5316
+ "kind": "flag",
5317
+ "display": "--description <d>",
5318
+ "description": "Store description",
5319
+ "required": false,
5320
+ },
5321
+ {
5322
+ "name": "schema",
5323
+ "kind": "flag",
5324
+ "display": "--schema <json>",
5325
+ "description": 'Table columns, as a JSON object like {"columns":[{"name":"page","type":"string"}]}',
5326
+ "required": false,
5327
+ },
5328
+ {
5329
+ "name": "project",
5330
+ "kind": "flag",
5331
+ "display": "--project <id>",
5332
+ "description": "Project to scope this call to (default: the client's, else the account's default)",
5333
+ "required": false,
5334
+ },
5335
+ {
5336
+ "name": "json",
5337
+ "kind": "flag",
5338
+ "display": "--json",
5339
+ "description": "Output raw JSON instead of a table",
5340
+ "required": false,
5341
+ },
5342
+ ],
5343
+ "examples": [
5344
+ "w6w data-stores create sessions --kind kv",
5345
+ 'w6w data-stores create visits --kind table --schema \'{"columns":[{"name":"page","type":"string"}]}\'',
5346
+ ],
5347
+ "notes": [],
5348
+ },
5349
+ {
5350
+ "operation": "dataStores.update",
5351
+ "path": [
5352
+ "data-stores",
5353
+ "update",
5354
+ ],
5355
+ "name": "update",
5356
+ "aliases": [],
5357
+ "summary": "Patch a data store's name, description or schema.",
5358
+ "short": "Patch a data store's name, description or schema",
5359
+ "headline": "patch a data store's name, description or schema",
5360
+ "usage": "w6w data-stores update <id> [options]",
5361
+ "naming": "w6w data-stores update <id> [--name <n>] [--description <d>] [--schema <json>] [--project <id>]",
5362
+ "status": "required",
5363
+ "params": [
5364
+ {
5365
+ "name": "id",
5366
+ "kind": "argument",
5367
+ "display": "<id>",
5368
+ "description": "Data store id (see: `w6w data-stores list`)",
5369
+ "required": true,
5370
+ },
5371
+ {
5372
+ "name": "name",
5373
+ "kind": "flag",
5374
+ "display": "--name <n>",
5375
+ "description": "New store name",
5376
+ "required": false,
5377
+ },
5378
+ {
5379
+ "name": "description",
5380
+ "kind": "flag",
5381
+ "display": "--description <d>",
5382
+ "description": "New store description",
5383
+ "required": false,
5384
+ },
5385
+ {
5386
+ "name": "schema",
5387
+ "kind": "flag",
5388
+ "display": "--schema <json>",
5389
+ "description": "New table schema, as a JSON object",
5390
+ "required": false,
5391
+ },
5392
+ {
5393
+ "name": "project",
5394
+ "kind": "flag",
5395
+ "display": "--project <id>",
5396
+ "description": "Project to scope this call to (default: the client's, else the account's default)",
5397
+ "required": false,
5398
+ },
5399
+ {
5400
+ "name": "json",
5401
+ "kind": "flag",
5402
+ "display": "--json",
5403
+ "description": "Output raw JSON instead of a table",
5404
+ "required": false,
5405
+ },
5406
+ ],
5407
+ "examples": [
5408
+ "w6w data-stores update ds_01HQ8N --name visits-v2",
5409
+ ],
5410
+ "notes": [],
5411
+ },
5412
+ {
5413
+ "operation": "dataStores.archive",
5414
+ "path": [
5415
+ "data-stores",
5416
+ "archive",
5417
+ ],
5418
+ "name": "archive",
5419
+ "aliases": [],
5420
+ "summary": "Archive a data store.",
5421
+ "short": "Archive a data store",
5422
+ "headline": "archive a data store",
5423
+ "usage": "w6w data-stores archive <id> [options]",
5424
+ "naming": "w6w data-stores archive <id> [--project <id>]",
5425
+ "status": "required",
5426
+ "params": [
5427
+ {
5428
+ "name": "id",
5429
+ "kind": "argument",
5430
+ "display": "<id>",
5431
+ "description": "Data store id (see: `w6w data-stores list`)",
5432
+ "required": true,
5433
+ },
5434
+ {
5435
+ "name": "project",
5436
+ "kind": "flag",
5437
+ "display": "--project <id>",
5438
+ "description": "Project to scope this call to (default: the client's, else the account's default)",
5439
+ "required": false,
5440
+ },
5441
+ {
5442
+ "name": "json",
5443
+ "kind": "flag",
5444
+ "display": "--json",
5445
+ "description": "Output raw JSON instead of a table",
5446
+ "required": false,
5447
+ },
5448
+ ],
5449
+ "examples": [
5450
+ "w6w data-stores archive ds_01HQ8N",
5451
+ ],
5452
+ "notes": [],
5453
+ },
5454
+ {
5455
+ "operation": "dataStores.importCsv",
5456
+ "path": [
5457
+ "data-stores",
5458
+ "import",
5459
+ ],
5460
+ "name": "import",
5461
+ "aliases": [],
5462
+ "summary": "Import CSV text into a table store.",
5463
+ "short": "Import CSV text into a table store",
5464
+ "headline": "import CSV text into a table store",
5465
+ "usage": "w6w data-stores import <id> --file <path> [options]",
5466
+ "naming": "w6w data-stores import <id> --file <path> [--project <id>]",
5467
+ "status": "required",
5468
+ "params": [
5469
+ {
5470
+ "name": "id",
5471
+ "kind": "argument",
5472
+ "display": "<id>",
5473
+ "description": "Data store id (see: `w6w data-stores list`)",
5474
+ "required": true,
5475
+ },
5476
+ {
5477
+ "name": "body",
5478
+ "kind": "flag",
5479
+ "display": "--file <path>",
5480
+ "description": "Path of the CSV file to import, or `-` for standard input",
5481
+ "required": true,
5482
+ },
5483
+ {
5484
+ "name": "project",
5485
+ "kind": "flag",
5486
+ "display": "--project <id>",
5487
+ "description": "Project to scope this call to (default: the client's, else the account's default)",
5488
+ "required": false,
5489
+ },
5490
+ {
5491
+ "name": "json",
5492
+ "kind": "flag",
5493
+ "display": "--json",
5494
+ "description": "Output raw JSON instead of a table",
5495
+ "required": false,
5496
+ },
5497
+ ],
5498
+ "examples": [
5499
+ "w6w data-stores import ds_01HQ8N --file ./visits.csv",
5500
+ "cat visits.csv | w6w data-stores import ds_01HQ8N --file -",
5501
+ ],
5502
+ "notes": [
5503
+ "The file is sent as text/csv, verbatim; its header row names the columns. Use --file - to read standard input. A bad cell is an invalid_value error naming the row and column.",
5504
+ ],
5505
+ },
5506
+ {
5507
+ "operation": "dataStores.exportCsv",
5508
+ "path": [
5509
+ "data-stores",
5510
+ "export",
5511
+ ],
5512
+ "name": "export",
5513
+ "aliases": [],
5514
+ "summary": "Export a table store as CSV text.",
5515
+ "short": "Export a table store as CSV text",
5516
+ "headline": "export a table store as CSV text",
5517
+ "usage": "w6w data-stores export <id> [options]",
5518
+ "naming": "w6w data-stores export <id> [--project <id>]",
5519
+ "status": "required",
5520
+ "params": [
5521
+ {
5522
+ "name": "id",
5523
+ "kind": "argument",
5524
+ "display": "<id>",
5525
+ "description": "Data store id (see: `w6w data-stores list`)",
5526
+ "required": true,
5527
+ },
5528
+ {
5529
+ "name": "project",
5530
+ "kind": "flag",
5531
+ "display": "--project <id>",
5532
+ "description": "Project to scope this call to (default: the client's, else the account's default)",
5533
+ "required": false,
5534
+ },
5535
+ {
5536
+ "name": "out",
5537
+ "display": "--out <path>",
5538
+ "description": "Write the bytes to this file instead of standard output",
5539
+ "kind": "flag",
5540
+ "required": false,
5541
+ },
5542
+ {
5543
+ "name": "json",
5544
+ "kind": "flag",
5545
+ "display": "--json",
5546
+ "description": "Output raw JSON instead of a table",
5547
+ "required": false,
5548
+ },
5549
+ ],
5550
+ "examples": [
5551
+ "w6w data-stores export ds_01HQ8N > visits.csv",
5552
+ "w6w data-stores export ds_01HQ8N --out ./visits.csv",
5553
+ ],
5554
+ "notes": [
5555
+ "Writes the CSV to standard output, or to --out <path>.",
5556
+ ],
5557
+ },
5558
+ {
5559
+ "operation": "dataStores.entries.list",
5560
+ "path": [
5561
+ "data-stores",
5562
+ "entry-list",
5563
+ ],
5564
+ "name": "entry-list",
5565
+ "aliases": [],
5566
+ "summary": "List a store's entries, paged by key.",
5567
+ "short": "List a store's entries, paged by key",
5568
+ "headline": "list a store's entries, paged by key",
5569
+ "usage": "w6w data-stores entry-list <id> [options]",
5570
+ "naming": "w6w data-stores entry-list <id> [--prefix <p>] [--cursor <c>] [--limit <n>] [--project <id>]",
5571
+ "status": "required",
5572
+ "params": [
5573
+ {
5574
+ "name": "id",
5575
+ "kind": "argument",
5576
+ "display": "<id>",
5577
+ "description": "Data store id (see: `w6w data-stores list`)",
5578
+ "required": true,
5579
+ },
5580
+ {
5581
+ "name": "prefix",
5582
+ "kind": "flag",
5583
+ "display": "--prefix <p>",
5584
+ "description": "Only keys starting with this",
5585
+ "required": false,
5586
+ },
5587
+ {
5588
+ "name": "cursor",
5589
+ "kind": "flag",
5590
+ "display": "--cursor <c>",
5591
+ "description": "The previous page's nextCursor",
5592
+ "required": false,
5593
+ },
5594
+ {
5595
+ "name": "limit",
5596
+ "kind": "flag",
5597
+ "display": "--limit <n>",
5598
+ "description": "Page size (a positive integer)",
5599
+ "required": false,
5600
+ },
5601
+ {
5602
+ "name": "project",
5603
+ "kind": "flag",
5604
+ "display": "--project <id>",
5605
+ "description": "Project to scope this call to (default: the client's, else the account's default)",
5606
+ "required": false,
5607
+ },
5608
+ {
5609
+ "name": "json",
5610
+ "kind": "flag",
5611
+ "display": "--json",
5612
+ "description": "Output raw JSON instead of a table",
5613
+ "required": false,
5614
+ },
5615
+ ],
5616
+ "examples": [
5617
+ "w6w data-stores entry-list ds_01HQ8N --prefix user:",
5618
+ ],
5619
+ "notes": [],
5620
+ },
5621
+ {
5622
+ "operation": "dataStores.entries.get",
5623
+ "path": [
5624
+ "data-stores",
5625
+ "entry-get",
5626
+ ],
5627
+ "name": "entry-get",
5628
+ "aliases": [],
5629
+ "summary": "Fetch one entry by key.",
5630
+ "short": "Fetch one entry by key",
5631
+ "headline": "fetch one entry by key",
5632
+ "usage": "w6w data-stores entry-get <id> <key> [options]",
5633
+ "naming": "w6w data-stores entry-get <id> <key> [--project <id>]",
5634
+ "status": "required",
5635
+ "params": [
5636
+ {
5637
+ "name": "id",
5638
+ "kind": "argument",
5639
+ "display": "<id>",
5640
+ "description": "Data store id (see: `w6w data-stores list`)",
5641
+ "required": true,
5642
+ },
5643
+ {
5644
+ "name": "key",
5645
+ "kind": "argument",
5646
+ "display": "<key>",
5647
+ "description": "Entry key",
5648
+ "required": true,
5649
+ },
5650
+ {
5651
+ "name": "project",
5652
+ "kind": "flag",
5653
+ "display": "--project <id>",
5654
+ "description": "Project to scope this call to (default: the client's, else the account's default)",
5655
+ "required": false,
5656
+ },
5657
+ {
5658
+ "name": "json",
5659
+ "kind": "flag",
5660
+ "display": "--json",
5661
+ "description": "Output raw JSON instead of a table",
5662
+ "required": false,
5663
+ },
5664
+ ],
5665
+ "examples": [
5666
+ "w6w data-stores entry-get ds_01HQ8N user:42",
5667
+ ],
5668
+ "notes": [],
5669
+ },
5670
+ {
5671
+ "operation": "dataStores.entries.set",
5672
+ "path": [
5673
+ "data-stores",
5674
+ "entry-set",
5675
+ ],
5676
+ "name": "entry-set",
5677
+ "aliases": [],
5678
+ "summary": "Create or replace one entry by key.",
5679
+ "short": "Create or replace one entry by key",
5680
+ "headline": "create or replace one entry by key",
5681
+ "usage": "w6w data-stores entry-set <id> <key> --value <json> [options]",
5682
+ "naming": "w6w data-stores entry-set <id> <key> --value <json> [--if-version <n>] [--ttl-seconds <n>] [--project <id>]",
5683
+ "status": "required",
5684
+ "params": [
5685
+ {
5686
+ "name": "id",
5687
+ "kind": "argument",
5688
+ "display": "<id>",
5689
+ "description": "Data store id (see: `w6w data-stores list`)",
5690
+ "required": true,
5691
+ },
5692
+ {
5693
+ "name": "key",
5694
+ "kind": "argument",
5695
+ "display": "<key>",
5696
+ "description": "Entry key",
5697
+ "required": true,
5698
+ },
5699
+ {
5700
+ "name": "value",
5701
+ "kind": "flag",
5702
+ "display": "--value <json>",
5703
+ "description": "The value, as JSON (strings need quotes)",
5704
+ "required": true,
5705
+ },
5706
+ {
5707
+ "name": "ifVersion",
5708
+ "kind": "flag",
5709
+ "display": "--if-version <n>",
5710
+ "description": "Only write if the entry is at this version (compare-and-set)",
5711
+ "required": false,
5712
+ },
5713
+ {
5714
+ "name": "ttlSeconds",
5715
+ "kind": "flag",
5716
+ "display": "--ttl-seconds <n>",
5717
+ "description": "Expire the entry after this many seconds",
5718
+ "required": false,
5719
+ },
5720
+ {
5721
+ "name": "project",
5722
+ "kind": "flag",
5723
+ "display": "--project <id>",
5724
+ "description": "Project to scope this call to (default: the client's, else the account's default)",
5725
+ "required": false,
5726
+ },
5727
+ {
5728
+ "name": "json",
5729
+ "kind": "flag",
5730
+ "display": "--json",
5731
+ "description": "Output raw JSON instead of a table",
5732
+ "required": false,
5733
+ },
5734
+ ],
5735
+ "examples": [
5736
+ 'w6w data-stores entry-set ds_01HQ8N user:42 --value \'{"plan":"pro"}\'',
5737
+ 'w6w data-stores entry-set ds_01HQ8N user:42 --value \'{"plan":"team"}\' --if-version 3',
5738
+ ],
5739
+ "notes": [],
5740
+ },
5741
+ {
5742
+ "operation": "dataStores.entries.insert",
5743
+ "path": [
5744
+ "data-stores",
5745
+ "entry-insert",
5746
+ ],
5747
+ "name": "entry-insert",
5748
+ "aliases": [],
5749
+ "summary": "Insert one row into a table store.",
5750
+ "short": "Insert one row into a table store",
5751
+ "headline": "insert one row into a table store",
5752
+ "usage": "w6w data-stores entry-insert <id> --value <json> [options]",
5753
+ "naming": "w6w data-stores entry-insert <id> --value <json> [--ttl-seconds <n>] [--project <id>]",
5754
+ "status": "required",
5755
+ "params": [
5756
+ {
5757
+ "name": "id",
5758
+ "kind": "argument",
5759
+ "display": "<id>",
5760
+ "description": "Data store id (see: `w6w data-stores list`)",
5761
+ "required": true,
5762
+ },
5763
+ {
5764
+ "name": "value",
5765
+ "kind": "flag",
5766
+ "display": "--value <json>",
5767
+ "description": "The row, as a JSON object",
5768
+ "required": true,
5769
+ },
5770
+ {
5771
+ "name": "ttlSeconds",
5772
+ "kind": "flag",
5773
+ "display": "--ttl-seconds <n>",
5774
+ "description": "Expire the row after this many seconds",
5775
+ "required": false,
5776
+ },
5777
+ {
5778
+ "name": "project",
5779
+ "kind": "flag",
5780
+ "display": "--project <id>",
5781
+ "description": "Project to scope this call to (default: the client's, else the account's default)",
5782
+ "required": false,
5783
+ },
5784
+ {
5785
+ "name": "json",
5786
+ "kind": "flag",
5787
+ "display": "--json",
5788
+ "description": "Output raw JSON instead of a table",
5789
+ "required": false,
5790
+ },
5791
+ ],
5792
+ "examples": [
5793
+ 'w6w data-stores entry-insert ds_01HQ8N --value \'{"page":"/","hits":1}\'',
5794
+ ],
5795
+ "notes": [],
5796
+ },
5797
+ {
5798
+ "operation": "dataStores.entries.increment",
5799
+ "path": [
5800
+ "data-stores",
5801
+ "entry-increment",
5802
+ ],
5803
+ "name": "entry-increment",
5804
+ "aliases": [],
5805
+ "summary": "Atomically add to a numeric entry.",
5806
+ "short": "Atomically add to a numeric entry",
5807
+ "headline": "atomically add to a numeric entry",
5808
+ "usage": "w6w data-stores entry-increment <id> <key> [options]",
5809
+ "naming": "w6w data-stores entry-increment <id> <key> [--by <n>] [--project <id>]",
5810
+ "status": "required",
5811
+ "params": [
5812
+ {
5813
+ "name": "id",
5814
+ "kind": "argument",
5815
+ "display": "<id>",
5816
+ "description": "Data store id (see: `w6w data-stores list`)",
5817
+ "required": true,
5818
+ },
5819
+ {
5820
+ "name": "key",
5821
+ "kind": "argument",
5822
+ "display": "<key>",
5823
+ "description": "Entry key",
5824
+ "required": true,
5825
+ },
5826
+ {
5827
+ "name": "by",
5828
+ "kind": "flag",
5829
+ "display": "--by <n>",
5830
+ "description": "Amount to add (default 1)",
5831
+ "required": false,
5832
+ },
5833
+ {
5834
+ "name": "project",
5835
+ "kind": "flag",
5836
+ "display": "--project <id>",
5837
+ "description": "Project to scope this call to (default: the client's, else the account's default)",
5838
+ "required": false,
5839
+ },
5840
+ {
5841
+ "name": "json",
5842
+ "kind": "flag",
5843
+ "display": "--json",
5844
+ "description": "Output raw JSON instead of a table",
5845
+ "required": false,
5846
+ },
5847
+ ],
5848
+ "examples": [
5849
+ "w6w data-stores entry-increment ds_01HQ8N visits:home",
5850
+ "w6w data-stores entry-increment ds_01HQ8N visits:home --by 5",
5851
+ ],
5852
+ "notes": [],
5853
+ },
5854
+ {
5855
+ "operation": "dataStores.entries.delete",
5856
+ "path": [
5857
+ "data-stores",
5858
+ "entry-delete",
5859
+ ],
5860
+ "name": "entry-delete",
5861
+ "aliases": [],
5862
+ "summary": "Delete one entry by key.",
5863
+ "short": "Delete one entry by key",
5864
+ "headline": "delete one entry by key",
5865
+ "usage": "w6w data-stores entry-delete <id> <key> [options]",
5866
+ "naming": "w6w data-stores entry-delete <id> <key> [--project <id>]",
5867
+ "status": "required",
5868
+ "params": [
5869
+ {
5870
+ "name": "id",
5871
+ "kind": "argument",
5872
+ "display": "<id>",
5873
+ "description": "Data store id (see: `w6w data-stores list`)",
5874
+ "required": true,
5875
+ },
5876
+ {
5877
+ "name": "key",
5878
+ "kind": "argument",
5879
+ "display": "<key>",
5880
+ "description": "Entry key",
5881
+ "required": true,
5882
+ },
5883
+ {
5884
+ "name": "project",
5885
+ "kind": "flag",
5886
+ "display": "--project <id>",
5887
+ "description": "Project to scope this call to (default: the client's, else the account's default)",
5888
+ "required": false,
5889
+ },
5890
+ {
5891
+ "name": "json",
5892
+ "kind": "flag",
5893
+ "display": "--json",
5894
+ "description": "Output raw JSON instead of a table",
5895
+ "required": false,
5896
+ },
5897
+ ],
5898
+ "examples": [
5899
+ "w6w data-stores entry-delete ds_01HQ8N user:42",
5900
+ ],
5901
+ "notes": [],
5902
+ },
5903
+ {
5904
+ "operation": "dataStores.entries.query",
5905
+ "path": [
5906
+ "data-stores",
5907
+ "entry-query",
5908
+ ],
5909
+ "name": "entry-query",
5910
+ "aliases": [],
5911
+ "summary": "Filter and order a table store's rows.",
5912
+ "short": "Filter and order a table store's rows",
5913
+ "headline": "filter and order a table store's rows",
5914
+ "usage": "w6w data-stores entry-query <id> [options]",
5915
+ "naming": "w6w data-stores entry-query <id> [--where <col=value>...] [--order <col>] [--limit <n>] [--project <id>]",
5916
+ "status": "required",
5917
+ "params": [
5918
+ {
5919
+ "name": "id",
5920
+ "kind": "argument",
5921
+ "display": "<id>",
5922
+ "description": "Data store id (see: `w6w data-stores list`)",
5923
+ "required": true,
5924
+ },
5925
+ {
5926
+ "name": "where",
5927
+ "kind": "flag",
5928
+ "display": "--where <col=value>",
5929
+ "description": "Filter <col>=<value>; repeat the flag for more columns",
5930
+ "required": false,
5931
+ },
5932
+ {
5933
+ "name": "order",
5934
+ "kind": "flag",
5935
+ "display": "--order <col>",
5936
+ "description": "Column to order by",
5937
+ "required": false,
5938
+ },
5939
+ {
5940
+ "name": "limit",
5941
+ "kind": "flag",
5942
+ "display": "--limit <n>",
5943
+ "description": "Maximum rows (a positive integer)",
5944
+ "required": false,
5945
+ },
5946
+ {
5947
+ "name": "project",
5948
+ "kind": "flag",
5949
+ "display": "--project <id>",
5950
+ "description": "Project to scope this call to (default: the client's, else the account's default)",
5951
+ "required": false,
5952
+ },
5953
+ {
5954
+ "name": "json",
5955
+ "kind": "flag",
5956
+ "display": "--json",
5957
+ "description": "Output raw JSON instead of a table",
5958
+ "required": false,
5959
+ },
5960
+ ],
5961
+ "examples": [
5962
+ "w6w data-stores entry-query ds_01HQ8N --where status=open --where owner=ann --order created",
5963
+ ],
5964
+ "notes": [
5965
+ "Repeat --where <col>=<value> for more filters (one per column; values are sent as text).",
5966
+ ],
5967
+ },
5968
+ ],
5969
+ "options": [
5970
+ {
5971
+ "name": "project",
5972
+ "kind": "flag",
5973
+ "display": "--project <id>",
5974
+ "description": "Project to scope this call to (default: the client's, else the account's default)",
5975
+ "required": false,
5976
+ },
5977
+ ],
5978
+ "examples": [
5979
+ "w6w data-stores list --kind table",
5980
+ "w6w data-stores entry-query ds_01HQ8N --where status=open --order created",
5981
+ ],
5982
+ },
4828
5983
  {
4829
5984
  "name": "auth",
4830
5985
  "summary": "Save, remove and inspect the stored API token",
@@ -5557,6 +6712,90 @@ export const COMMAND_PATHS = [
5557
6712
  "agents",
5558
6713
  "archive",
5559
6714
  ],
6715
+ [
6716
+ "app-management",
6717
+ "list",
6718
+ ],
6719
+ [
6720
+ "app-management",
6721
+ "get",
6722
+ ],
6723
+ [
6724
+ "app-management",
6725
+ "preview",
6726
+ ],
6727
+ [
6728
+ "app-management",
6729
+ "register",
6730
+ ],
6731
+ [
6732
+ "app-management",
6733
+ "update-source",
6734
+ ],
6735
+ [
6736
+ "app-management",
6737
+ "sync",
6738
+ ],
6739
+ [
6740
+ "app-management",
6741
+ "remove",
6742
+ ],
6743
+ [
6744
+ "data-stores",
6745
+ "list",
6746
+ ],
6747
+ [
6748
+ "data-stores",
6749
+ "get",
6750
+ ],
6751
+ [
6752
+ "data-stores",
6753
+ "create",
6754
+ ],
6755
+ [
6756
+ "data-stores",
6757
+ "update",
6758
+ ],
6759
+ [
6760
+ "data-stores",
6761
+ "archive",
6762
+ ],
6763
+ [
6764
+ "data-stores",
6765
+ "import",
6766
+ ],
6767
+ [
6768
+ "data-stores",
6769
+ "export",
6770
+ ],
6771
+ [
6772
+ "data-stores",
6773
+ "entry-list",
6774
+ ],
6775
+ [
6776
+ "data-stores",
6777
+ "entry-get",
6778
+ ],
6779
+ [
6780
+ "data-stores",
6781
+ "entry-set",
6782
+ ],
6783
+ [
6784
+ "data-stores",
6785
+ "entry-insert",
6786
+ ],
6787
+ [
6788
+ "data-stores",
6789
+ "entry-increment",
6790
+ ],
6791
+ [
6792
+ "data-stores",
6793
+ "entry-delete",
6794
+ ],
6795
+ [
6796
+ "data-stores",
6797
+ "entry-query",
6798
+ ],
5560
6799
  [
5561
6800
  "auth",
5562
6801
  "login",