powersync 0.10.0 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -41
- package/dist/api/BaseDeployCommand.d.ts +19 -0
- package/dist/api/BaseDeployCommand.js +55 -0
- package/dist/api/BaseDeployCommand.js.map +1 -1
- package/dist/api/dry-run.d.ts +9 -0
- package/dist/api/dry-run.js +40 -0
- package/dist/api/dry-run.js.map +1 -0
- package/dist/commands/compact.js +2 -1
- package/dist/commands/compact.js.map +1 -1
- package/dist/commands/deploy/index.js +19 -2
- package/dist/commands/deploy/index.js.map +1 -1
- package/dist/commands/deploy/service-config.js +12 -2
- package/dist/commands/deploy/service-config.js.map +1 -1
- package/dist/commands/deploy/sync-config.js +17 -7
- package/dist/commands/deploy/sync-config.js.map +1 -1
- package/dist/commands/destroy.js +2 -1
- package/dist/commands/destroy.js.map +1 -1
- package/dist/commands/fetch/status.js +5 -1
- package/dist/commands/fetch/status.js.map +1 -1
- package/dist/commands/migrate/sync-rules.js +1 -1
- package/dist/commands/migrate/sync-rules.js.map +1 -1
- package/dist/commands/pull/instance.js +1 -1
- package/dist/commands/pull/instance.js.map +1 -1
- package/dist/commands/stop.js +2 -1
- package/dist/commands/stop.js.map +1 -1
- package/oclif.manifest.json +336 -314
- package/package.json +12 -11
package/oclif.manifest.json
CHANGED
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
"status": {
|
|
215
215
|
"aliases": [],
|
|
216
216
|
"args": {},
|
|
217
|
-
"description": "Fetch instance diagnostics: connection status, active and deploying sync config, replication state. Output as human-readable, JSON, or YAML. Cloud and self-hosted.",
|
|
217
|
+
"description": "Fetch instance diagnostics: connection status, active and deploying sync config, replication state. Output as human-readable, JSON, or YAML. Human output starts with the target instance. Cloud and self-hosted.",
|
|
218
218
|
"examples": [
|
|
219
219
|
"<%= config.bin %> <%= command.id %>",
|
|
220
220
|
"<%= config.bin %> <%= command.id %> --output=json",
|
|
@@ -573,9 +573,10 @@
|
|
|
573
573
|
"deploy": {
|
|
574
574
|
"aliases": [],
|
|
575
575
|
"args": {},
|
|
576
|
-
"description": "Deploy local config (service.yaml, sync config) to the linked PowerSync Cloud instance.\nValidates connections and sync config before deploying.\nSee also powersync deploy sync-config to deploy only sync config changes.\nSee also powersync deploy service-config to deploy only service config changes.",
|
|
576
|
+
"description": "Deploy local config (service.yaml, sync config) to the linked PowerSync Cloud instance.\nValidates connections and sync config before deploying.\nSee also powersync deploy sync-config to deploy only sync config changes.\nSee also powersync deploy service-config to deploy only service config changes.\nUse --dry-run to show the target instance, the validation results and what would change, without deploying.",
|
|
577
577
|
"examples": [
|
|
578
578
|
"<%= config.bin %> <%= command.id %>",
|
|
579
|
+
"<%= config.bin %> <%= command.id %> --dry-run",
|
|
579
580
|
"<%= config.bin %> <%= command.id %> --instance-id=<id>"
|
|
580
581
|
],
|
|
581
582
|
"flags": {
|
|
@@ -587,6 +588,12 @@
|
|
|
587
588
|
"multiple": false,
|
|
588
589
|
"type": "option"
|
|
589
590
|
},
|
|
591
|
+
"dry-run": {
|
|
592
|
+
"description": "Show the target instance, run the validations and print what would change, then exit without deploying.",
|
|
593
|
+
"name": "dry-run",
|
|
594
|
+
"allowNo": false,
|
|
595
|
+
"type": "boolean"
|
|
596
|
+
},
|
|
590
597
|
"directory": {
|
|
591
598
|
"description": "Directory containing PowerSync config. Defaults to \"powersync\". This is required if multiple powersync config files are present in subdirectories of the current working directory.",
|
|
592
599
|
"helpGroup": "PROJECT",
|
|
@@ -681,9 +688,10 @@
|
|
|
681
688
|
"deploy:service-config": {
|
|
682
689
|
"aliases": [],
|
|
683
690
|
"args": {},
|
|
684
|
-
"description": "Deploy only service config changes (without sync config updates).",
|
|
691
|
+
"description": "Deploy only service config changes (without sync config updates). Use --dry-run to show the target instance, the validation results and what would change, without deploying.",
|
|
685
692
|
"examples": [
|
|
686
693
|
"<%= config.bin %> <%= command.id %>",
|
|
694
|
+
"<%= config.bin %> <%= command.id %> --dry-run",
|
|
687
695
|
"<%= config.bin %> <%= command.id %> --instance-id=<id>"
|
|
688
696
|
],
|
|
689
697
|
"flags": {
|
|
@@ -695,6 +703,12 @@
|
|
|
695
703
|
"multiple": false,
|
|
696
704
|
"type": "option"
|
|
697
705
|
},
|
|
706
|
+
"dry-run": {
|
|
707
|
+
"description": "Show the target instance, run the validations and print what would change, then exit without deploying.",
|
|
708
|
+
"name": "dry-run",
|
|
709
|
+
"allowNo": false,
|
|
710
|
+
"type": "boolean"
|
|
711
|
+
},
|
|
698
712
|
"directory": {
|
|
699
713
|
"description": "Directory containing PowerSync config. Defaults to \"powersync\". This is required if multiple powersync config files are present in subdirectories of the current working directory.",
|
|
700
714
|
"helpGroup": "PROJECT",
|
|
@@ -781,9 +795,10 @@
|
|
|
781
795
|
"deploy:sync-config": {
|
|
782
796
|
"aliases": [],
|
|
783
797
|
"args": {},
|
|
784
|
-
"description": "Deploy only sync config changes.",
|
|
798
|
+
"description": "Deploy only sync config changes. Use --dry-run to show the target instance, the validation results and what would change, without deploying.",
|
|
785
799
|
"examples": [
|
|
786
800
|
"<%= config.bin %> <%= command.id %>",
|
|
801
|
+
"<%= config.bin %> <%= command.id %> --dry-run",
|
|
787
802
|
"<%= config.bin %> <%= command.id %> --instance-id=<id>"
|
|
788
803
|
],
|
|
789
804
|
"flags": {
|
|
@@ -795,6 +810,12 @@
|
|
|
795
810
|
"multiple": false,
|
|
796
811
|
"type": "option"
|
|
797
812
|
},
|
|
813
|
+
"dry-run": {
|
|
814
|
+
"description": "Show the target instance, run the validations and print what would change, then exit without deploying.",
|
|
815
|
+
"name": "dry-run",
|
|
816
|
+
"allowNo": false,
|
|
817
|
+
"type": "boolean"
|
|
818
|
+
},
|
|
798
819
|
"directory": {
|
|
799
820
|
"description": "Directory containing PowerSync config. Defaults to \"powersync\". This is required if multiple powersync config files are present in subdirectories of the current working directory.",
|
|
800
821
|
"helpGroup": "PROJECT",
|
|
@@ -876,10 +897,94 @@
|
|
|
876
897
|
"sync-config.js"
|
|
877
898
|
]
|
|
878
899
|
},
|
|
879
|
-
"
|
|
900
|
+
"fetch:config": {
|
|
880
901
|
"aliases": [],
|
|
881
902
|
"args": {},
|
|
882
|
-
"description": "
|
|
903
|
+
"description": "Retrieve the current instance config from PowerSync Cloud and print as YAML or JSON.",
|
|
904
|
+
"examples": [
|
|
905
|
+
"<%= config.bin %> <%= command.id %>",
|
|
906
|
+
"<%= config.bin %> <%= command.id %> --output=json"
|
|
907
|
+
],
|
|
908
|
+
"flags": {
|
|
909
|
+
"directory": {
|
|
910
|
+
"description": "Directory containing PowerSync config. Defaults to \"powersync\". This is required if multiple powersync config files are present in subdirectories of the current working directory.",
|
|
911
|
+
"helpGroup": "PROJECT",
|
|
912
|
+
"name": "directory",
|
|
913
|
+
"default": "powersync",
|
|
914
|
+
"hasDynamicHelp": false,
|
|
915
|
+
"multiple": false,
|
|
916
|
+
"type": "option"
|
|
917
|
+
},
|
|
918
|
+
"instance-id": {
|
|
919
|
+
"description": "PowerSync Cloud instance ID. Manually passed if the current context has not been linked.",
|
|
920
|
+
"helpGroup": "CLOUD_PROJECT",
|
|
921
|
+
"name": "instance-id",
|
|
922
|
+
"required": false,
|
|
923
|
+
"hasDynamicHelp": false,
|
|
924
|
+
"multiple": false,
|
|
925
|
+
"type": "option"
|
|
926
|
+
},
|
|
927
|
+
"org-id": {
|
|
928
|
+
"deprecated": {
|
|
929
|
+
"message": "--org-id is a no-op. Organization ID is resolved automatically."
|
|
930
|
+
},
|
|
931
|
+
"description": "[Deprecated] Organization ID. Automatically resolved from --instance-id.",
|
|
932
|
+
"helpGroup": "CLOUD_PROJECT",
|
|
933
|
+
"hidden": true,
|
|
934
|
+
"name": "org-id",
|
|
935
|
+
"required": false,
|
|
936
|
+
"hasDynamicHelp": false,
|
|
937
|
+
"multiple": false,
|
|
938
|
+
"type": "option"
|
|
939
|
+
},
|
|
940
|
+
"project-id": {
|
|
941
|
+
"deprecated": {
|
|
942
|
+
"message": "--project-id is a no-op. Project ID is resolved automatically."
|
|
943
|
+
},
|
|
944
|
+
"description": "[Deprecated] Project ID. Automatically resolved from --instance-id.",
|
|
945
|
+
"helpGroup": "CLOUD_PROJECT",
|
|
946
|
+
"hidden": true,
|
|
947
|
+
"name": "project-id",
|
|
948
|
+
"required": false,
|
|
949
|
+
"hasDynamicHelp": false,
|
|
950
|
+
"multiple": false,
|
|
951
|
+
"type": "option"
|
|
952
|
+
},
|
|
953
|
+
"output": {
|
|
954
|
+
"description": "Output format: yaml or json.",
|
|
955
|
+
"name": "output",
|
|
956
|
+
"default": "yaml",
|
|
957
|
+
"hasDynamicHelp": false,
|
|
958
|
+
"multiple": false,
|
|
959
|
+
"options": [
|
|
960
|
+
"json",
|
|
961
|
+
"yaml"
|
|
962
|
+
],
|
|
963
|
+
"type": "option"
|
|
964
|
+
}
|
|
965
|
+
},
|
|
966
|
+
"hasDynamicHelp": false,
|
|
967
|
+
"hiddenAliases": [],
|
|
968
|
+
"id": "fetch:config",
|
|
969
|
+
"pluginAlias": "powersync",
|
|
970
|
+
"pluginName": "powersync",
|
|
971
|
+
"pluginType": "core",
|
|
972
|
+
"strict": true,
|
|
973
|
+
"summary": "[Cloud only] Print linked Cloud instance config (YAML or JSON).",
|
|
974
|
+
"enableJsonFlag": false,
|
|
975
|
+
"commandHelpGroup": "CLOUD",
|
|
976
|
+
"isESM": true,
|
|
977
|
+
"relativePath": [
|
|
978
|
+
"dist",
|
|
979
|
+
"commands",
|
|
980
|
+
"fetch",
|
|
981
|
+
"config.js"
|
|
982
|
+
]
|
|
983
|
+
},
|
|
984
|
+
"fetch": {
|
|
985
|
+
"aliases": [],
|
|
986
|
+
"args": {},
|
|
987
|
+
"description": "Subcommands: list Cloud instances in org/project (fetch instances), print instance config as YAML/JSON (fetch config), or show instance diagnostics (fetch status).",
|
|
883
988
|
"examples": [
|
|
884
989
|
"<%= config.bin %> <%= command.id %>"
|
|
885
990
|
],
|
|
@@ -887,28 +992,93 @@
|
|
|
887
992
|
"hasDynamicHelp": false,
|
|
888
993
|
"hidden": true,
|
|
889
994
|
"hiddenAliases": [],
|
|
890
|
-
"id": "
|
|
995
|
+
"id": "fetch",
|
|
891
996
|
"pluginAlias": "powersync",
|
|
892
997
|
"pluginName": "powersync",
|
|
893
998
|
"pluginType": "core",
|
|
894
999
|
"strict": true,
|
|
895
|
-
"summary": "
|
|
1000
|
+
"summary": "List instances, fetch config, or fetch instance diagnostics.",
|
|
896
1001
|
"enableJsonFlag": false,
|
|
897
1002
|
"isESM": true,
|
|
898
1003
|
"relativePath": [
|
|
899
1004
|
"dist",
|
|
900
1005
|
"commands",
|
|
901
|
-
"
|
|
1006
|
+
"fetch",
|
|
902
1007
|
"index.js"
|
|
903
1008
|
]
|
|
904
1009
|
},
|
|
905
|
-
"
|
|
1010
|
+
"fetch:instances": {
|
|
906
1011
|
"aliases": [],
|
|
907
1012
|
"args": {},
|
|
908
|
-
"description": "
|
|
1013
|
+
"description": "List PowerSync Cloud and linked instances, Cloud instances are grouped by organization and project.",
|
|
909
1014
|
"examples": [
|
|
910
|
-
"<%= config.bin %> <%= command.id %>
|
|
911
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1015
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1016
|
+
"<%= config.bin %> <%= command.id %> --project-id=<id> --output=json"
|
|
1017
|
+
],
|
|
1018
|
+
"flags": {
|
|
1019
|
+
"org-id": {
|
|
1020
|
+
"description": "Optional Organization ID. Defaults to all organizations.",
|
|
1021
|
+
"name": "org-id",
|
|
1022
|
+
"required": false,
|
|
1023
|
+
"hasDynamicHelp": false,
|
|
1024
|
+
"multiple": false,
|
|
1025
|
+
"type": "option"
|
|
1026
|
+
},
|
|
1027
|
+
"output": {
|
|
1028
|
+
"description": "Output format: human or json.",
|
|
1029
|
+
"name": "output",
|
|
1030
|
+
"default": "human",
|
|
1031
|
+
"hasDynamicHelp": false,
|
|
1032
|
+
"multiple": false,
|
|
1033
|
+
"options": [
|
|
1034
|
+
"human",
|
|
1035
|
+
"json"
|
|
1036
|
+
],
|
|
1037
|
+
"type": "option"
|
|
1038
|
+
},
|
|
1039
|
+
"output-file": {
|
|
1040
|
+
"description": "Optionally write instance information to a file.",
|
|
1041
|
+
"name": "output-file",
|
|
1042
|
+
"required": false,
|
|
1043
|
+
"hasDynamicHelp": false,
|
|
1044
|
+
"multiple": false,
|
|
1045
|
+
"type": "option"
|
|
1046
|
+
},
|
|
1047
|
+
"project-id": {
|
|
1048
|
+
"description": "Optional Project ID. Defaults to all projects in the org.",
|
|
1049
|
+
"name": "project-id",
|
|
1050
|
+
"required": false,
|
|
1051
|
+
"hasDynamicHelp": false,
|
|
1052
|
+
"multiple": false,
|
|
1053
|
+
"type": "option"
|
|
1054
|
+
}
|
|
1055
|
+
},
|
|
1056
|
+
"hasDynamicHelp": false,
|
|
1057
|
+
"hiddenAliases": [],
|
|
1058
|
+
"id": "fetch:instances",
|
|
1059
|
+
"pluginAlias": "powersync",
|
|
1060
|
+
"pluginName": "powersync",
|
|
1061
|
+
"pluginType": "core",
|
|
1062
|
+
"strict": true,
|
|
1063
|
+
"summary": "List Cloud and linked instances.",
|
|
1064
|
+
"enableJsonFlag": false,
|
|
1065
|
+
"commandHelpGroup": "CLOUD",
|
|
1066
|
+
"isESM": true,
|
|
1067
|
+
"relativePath": [
|
|
1068
|
+
"dist",
|
|
1069
|
+
"commands",
|
|
1070
|
+
"fetch",
|
|
1071
|
+
"instances.js"
|
|
1072
|
+
]
|
|
1073
|
+
},
|
|
1074
|
+
"fetch:status": {
|
|
1075
|
+
"aliases": [],
|
|
1076
|
+
"args": {},
|
|
1077
|
+
"description": "Fetch instance diagnostics: connection status, active and deploying sync config, replication state. Output as human-readable, JSON, or YAML. Human output starts with the target instance. Cloud and self-hosted.",
|
|
1078
|
+
"examples": [
|
|
1079
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1080
|
+
"<%= config.bin %> <%= command.id %> --output=json",
|
|
1081
|
+
"<%= config.bin %> <%= command.id %> --instance-id=<id>"
|
|
912
1082
|
],
|
|
913
1083
|
"flags": {
|
|
914
1084
|
"api-url": {
|
|
@@ -969,67 +1139,70 @@
|
|
|
969
1139
|
"multiple": false,
|
|
970
1140
|
"type": "option"
|
|
971
1141
|
},
|
|
972
|
-
"sync-config-file-path": {
|
|
973
|
-
"description": "[Optional] Override the path to a sync config file. When set, this file is used instead of sync-config.yaml in the project directory.",
|
|
974
|
-
"helpGroup": "PROJECT",
|
|
975
|
-
"name": "sync-config-file-path",
|
|
976
|
-
"hasDynamicHelp": false,
|
|
977
|
-
"multiple": false,
|
|
978
|
-
"type": "option"
|
|
979
|
-
},
|
|
980
1142
|
"output": {
|
|
981
|
-
"description": "Output
|
|
1143
|
+
"description": "Output format: human-readable, json, or yaml.",
|
|
982
1144
|
"name": "output",
|
|
983
|
-
"
|
|
984
|
-
"default": "type",
|
|
1145
|
+
"default": "human",
|
|
985
1146
|
"hasDynamicHelp": false,
|
|
986
1147
|
"multiple": false,
|
|
987
1148
|
"options": [
|
|
988
|
-
"
|
|
989
|
-
"
|
|
990
|
-
"
|
|
991
|
-
"js",
|
|
992
|
-
"jsLegacy",
|
|
993
|
-
"kotlin",
|
|
994
|
-
"swift",
|
|
995
|
-
"ts"
|
|
1149
|
+
"human",
|
|
1150
|
+
"json",
|
|
1151
|
+
"yaml"
|
|
996
1152
|
],
|
|
997
1153
|
"type": "option"
|
|
998
|
-
},
|
|
999
|
-
"output-path": {
|
|
1000
|
-
"description": "Path to output the schema file.",
|
|
1001
|
-
"name": "output-path",
|
|
1002
|
-
"required": true,
|
|
1003
|
-
"hasDynamicHelp": false,
|
|
1004
|
-
"multiple": false,
|
|
1005
|
-
"type": "option"
|
|
1006
1154
|
}
|
|
1007
1155
|
},
|
|
1008
1156
|
"hasDynamicHelp": false,
|
|
1009
1157
|
"hiddenAliases": [],
|
|
1010
|
-
"id": "
|
|
1158
|
+
"id": "fetch:status",
|
|
1011
1159
|
"pluginAlias": "powersync",
|
|
1012
1160
|
"pluginName": "powersync",
|
|
1013
1161
|
"pluginType": "core",
|
|
1014
1162
|
"strict": true,
|
|
1015
|
-
"summary": "
|
|
1163
|
+
"summary": "Show instance diagnostics (connections, sync config, replication).",
|
|
1016
1164
|
"enableJsonFlag": false,
|
|
1017
1165
|
"commandHelpGroup": "INSTANCE",
|
|
1018
1166
|
"isESM": true,
|
|
1167
|
+
"relativePath": [
|
|
1168
|
+
"dist",
|
|
1169
|
+
"commands",
|
|
1170
|
+
"status.js"
|
|
1171
|
+
]
|
|
1172
|
+
},
|
|
1173
|
+
"generate": {
|
|
1174
|
+
"aliases": [],
|
|
1175
|
+
"args": {},
|
|
1176
|
+
"description": "Generate client artifacts: schema (from instance schema + sync config) or a development token for connecting clients. Cloud and self-hosted where supported.",
|
|
1177
|
+
"examples": [
|
|
1178
|
+
"<%= config.bin %> <%= command.id %>"
|
|
1179
|
+
],
|
|
1180
|
+
"flags": {},
|
|
1181
|
+
"hasDynamicHelp": false,
|
|
1182
|
+
"hidden": true,
|
|
1183
|
+
"hiddenAliases": [],
|
|
1184
|
+
"id": "generate",
|
|
1185
|
+
"pluginAlias": "powersync",
|
|
1186
|
+
"pluginName": "powersync",
|
|
1187
|
+
"pluginType": "core",
|
|
1188
|
+
"strict": true,
|
|
1189
|
+
"summary": "Generate client schema or development token.",
|
|
1190
|
+
"enableJsonFlag": false,
|
|
1191
|
+
"isESM": true,
|
|
1019
1192
|
"relativePath": [
|
|
1020
1193
|
"dist",
|
|
1021
1194
|
"commands",
|
|
1022
1195
|
"generate",
|
|
1023
|
-
"
|
|
1196
|
+
"index.js"
|
|
1024
1197
|
]
|
|
1025
1198
|
},
|
|
1026
|
-
"generate:
|
|
1199
|
+
"generate:schema": {
|
|
1027
1200
|
"aliases": [],
|
|
1028
1201
|
"args": {},
|
|
1029
|
-
"description": "Generate a
|
|
1202
|
+
"description": "Generate a client-side schema file from the instance database schema and sync config. Supports multiple output types (e.g. type, dart). Requires a linked instance. Cloud and self-hosted.",
|
|
1030
1203
|
"examples": [
|
|
1031
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1032
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1204
|
+
"<%= config.bin %> <%= command.id %> --output=ts --output-path=schema.ts",
|
|
1205
|
+
"<%= config.bin %> <%= command.id %> --output=dart --output-path=lib/schema.dart --instance-id=<id>"
|
|
1033
1206
|
],
|
|
1034
1207
|
"flags": {
|
|
1035
1208
|
"api-url": {
|
|
@@ -1090,26 +1263,37 @@
|
|
|
1090
1263
|
"multiple": false,
|
|
1091
1264
|
"type": "option"
|
|
1092
1265
|
},
|
|
1093
|
-
"
|
|
1094
|
-
"description": "
|
|
1095
|
-
"
|
|
1096
|
-
"
|
|
1097
|
-
"default": 43200,
|
|
1266
|
+
"sync-config-file-path": {
|
|
1267
|
+
"description": "[Optional] Override the path to a sync config file. When set, this file is used instead of sync-config.yaml in the project directory.",
|
|
1268
|
+
"helpGroup": "PROJECT",
|
|
1269
|
+
"name": "sync-config-file-path",
|
|
1098
1270
|
"hasDynamicHelp": false,
|
|
1099
1271
|
"multiple": false,
|
|
1100
1272
|
"type": "option"
|
|
1101
1273
|
},
|
|
1102
|
-
"
|
|
1103
|
-
"description": "
|
|
1104
|
-
"name": "
|
|
1105
|
-
"required":
|
|
1274
|
+
"output": {
|
|
1275
|
+
"description": "Output type: dart, dotNet, dotNetClass, js, jsLegacy, kotlin, rust, swift, ts",
|
|
1276
|
+
"name": "output",
|
|
1277
|
+
"required": true,
|
|
1278
|
+
"default": "type",
|
|
1106
1279
|
"hasDynamicHelp": false,
|
|
1107
1280
|
"multiple": false,
|
|
1281
|
+
"options": [
|
|
1282
|
+
"dart",
|
|
1283
|
+
"dotNet",
|
|
1284
|
+
"dotNetClass",
|
|
1285
|
+
"js",
|
|
1286
|
+
"jsLegacy",
|
|
1287
|
+
"kotlin",
|
|
1288
|
+
"rust",
|
|
1289
|
+
"swift",
|
|
1290
|
+
"ts"
|
|
1291
|
+
],
|
|
1108
1292
|
"type": "option"
|
|
1109
1293
|
},
|
|
1110
|
-
"
|
|
1111
|
-
"description": "
|
|
1112
|
-
"name": "
|
|
1294
|
+
"output-path": {
|
|
1295
|
+
"description": "Path to output the schema file.",
|
|
1296
|
+
"name": "output-path",
|
|
1113
1297
|
"required": true,
|
|
1114
1298
|
"hasDynamicHelp": false,
|
|
1115
1299
|
"multiple": false,
|
|
@@ -1118,12 +1302,12 @@
|
|
|
1118
1302
|
},
|
|
1119
1303
|
"hasDynamicHelp": false,
|
|
1120
1304
|
"hiddenAliases": [],
|
|
1121
|
-
"id": "generate:
|
|
1305
|
+
"id": "generate:schema",
|
|
1122
1306
|
"pluginAlias": "powersync",
|
|
1123
1307
|
"pluginName": "powersync",
|
|
1124
1308
|
"pluginType": "core",
|
|
1125
1309
|
"strict": true,
|
|
1126
|
-
"summary": "Generate
|
|
1310
|
+
"summary": "Generate client schema file from instance schema and sync config.",
|
|
1127
1311
|
"enableJsonFlag": false,
|
|
1128
1312
|
"commandHelpGroup": "INSTANCE",
|
|
1129
1313
|
"isESM": true,
|
|
@@ -1131,129 +1315,34 @@
|
|
|
1131
1315
|
"dist",
|
|
1132
1316
|
"commands",
|
|
1133
1317
|
"generate",
|
|
1134
|
-
"
|
|
1135
|
-
]
|
|
1136
|
-
},
|
|
1137
|
-
"init:cloud": {
|
|
1138
|
-
"aliases": [],
|
|
1139
|
-
"args": {},
|
|
1140
|
-
"description": "Copy a Cloud template into a config directory (default powersync/). Edit service.yaml then run link cloud and deploy.",
|
|
1141
|
-
"examples": [
|
|
1142
|
-
"<%= config.bin %> <%= command.id %>",
|
|
1143
|
-
"<%= config.bin %> <%= command.id %> --directory=powersync"
|
|
1144
|
-
],
|
|
1145
|
-
"flags": {
|
|
1146
|
-
"directory": {
|
|
1147
|
-
"description": "Directory containing PowerSync config. Defaults to \"powersync\". This is required if multiple powersync config files are present in subdirectories of the current working directory.",
|
|
1148
|
-
"helpGroup": "PROJECT",
|
|
1149
|
-
"name": "directory",
|
|
1150
|
-
"default": "powersync",
|
|
1151
|
-
"hasDynamicHelp": false,
|
|
1152
|
-
"multiple": false,
|
|
1153
|
-
"type": "option"
|
|
1154
|
-
}
|
|
1155
|
-
},
|
|
1156
|
-
"hasDynamicHelp": false,
|
|
1157
|
-
"hiddenAliases": [],
|
|
1158
|
-
"id": "init:cloud",
|
|
1159
|
-
"pluginAlias": "powersync",
|
|
1160
|
-
"pluginName": "powersync",
|
|
1161
|
-
"pluginType": "core",
|
|
1162
|
-
"strict": true,
|
|
1163
|
-
"summary": "Scaffold a PowerSync Cloud config directory from a template.",
|
|
1164
|
-
"enableJsonFlag": false,
|
|
1165
|
-
"commandHelpGroup": "PROJECT SETUP",
|
|
1166
|
-
"isESM": true,
|
|
1167
|
-
"relativePath": [
|
|
1168
|
-
"dist",
|
|
1169
|
-
"commands",
|
|
1170
|
-
"init",
|
|
1171
|
-
"cloud.js"
|
|
1172
|
-
]
|
|
1173
|
-
},
|
|
1174
|
-
"init": {
|
|
1175
|
-
"aliases": [],
|
|
1176
|
-
"args": {},
|
|
1177
|
-
"description": "Scaffold a PowerSync config directory from a template. Use init cloud or init self-hosted. For Cloud, edit service.yaml then run link cloud and deploy.",
|
|
1178
|
-
"examples": [
|
|
1179
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1180
|
-
],
|
|
1181
|
-
"flags": {},
|
|
1182
|
-
"hasDynamicHelp": false,
|
|
1183
|
-
"hidden": true,
|
|
1184
|
-
"hiddenAliases": [],
|
|
1185
|
-
"id": "init",
|
|
1186
|
-
"pluginAlias": "powersync",
|
|
1187
|
-
"pluginName": "powersync",
|
|
1188
|
-
"pluginType": "core",
|
|
1189
|
-
"strict": true,
|
|
1190
|
-
"summary": "Scaffold a PowerSync config directory from a template.",
|
|
1191
|
-
"enableJsonFlag": false,
|
|
1192
|
-
"isESM": true,
|
|
1193
|
-
"relativePath": [
|
|
1194
|
-
"dist",
|
|
1195
|
-
"commands",
|
|
1196
|
-
"init",
|
|
1197
|
-
"index.js"
|
|
1198
|
-
]
|
|
1199
|
-
},
|
|
1200
|
-
"init:self-hosted": {
|
|
1201
|
-
"aliases": [],
|
|
1202
|
-
"args": {},
|
|
1203
|
-
"description": "Copy a self-hosted template into a config directory (default powersync/). Configure service.yaml with your self-hosted instance details.",
|
|
1204
|
-
"examples": [
|
|
1205
|
-
"<%= config.bin %> <%= command.id %>",
|
|
1206
|
-
"<%= config.bin %> <%= command.id %> --directory=powersync"
|
|
1207
|
-
],
|
|
1208
|
-
"flags": {
|
|
1209
|
-
"directory": {
|
|
1210
|
-
"description": "Directory containing PowerSync config. Defaults to \"powersync\". This is required if multiple powersync config files are present in subdirectories of the current working directory.",
|
|
1211
|
-
"helpGroup": "PROJECT",
|
|
1212
|
-
"name": "directory",
|
|
1213
|
-
"default": "powersync",
|
|
1214
|
-
"hasDynamicHelp": false,
|
|
1215
|
-
"multiple": false,
|
|
1216
|
-
"type": "option"
|
|
1217
|
-
}
|
|
1218
|
-
},
|
|
1219
|
-
"hasDynamicHelp": false,
|
|
1220
|
-
"hiddenAliases": [],
|
|
1221
|
-
"id": "init:self-hosted",
|
|
1222
|
-
"pluginAlias": "powersync",
|
|
1223
|
-
"pluginName": "powersync",
|
|
1224
|
-
"pluginType": "core",
|
|
1225
|
-
"strict": true,
|
|
1226
|
-
"summary": "Scaffold a PowerSync self-hosted config directory from a template.",
|
|
1227
|
-
"enableJsonFlag": false,
|
|
1228
|
-
"commandHelpGroup": "PROJECT SETUP",
|
|
1229
|
-
"isESM": true,
|
|
1230
|
-
"relativePath": [
|
|
1231
|
-
"dist",
|
|
1232
|
-
"commands",
|
|
1233
|
-
"init",
|
|
1234
|
-
"self-hosted.js"
|
|
1318
|
+
"schema.js"
|
|
1235
1319
|
]
|
|
1236
1320
|
},
|
|
1237
|
-
"
|
|
1321
|
+
"generate:token": {
|
|
1238
1322
|
"aliases": [],
|
|
1239
1323
|
"args": {},
|
|
1240
|
-
"description": "
|
|
1324
|
+
"description": "Generate a JWT for development clients to connect to PowerSync. Cloud: uses instance dev-token API (allow_temporary_tokens must be enabled). Self-hosted: signs with shared secret from config. Requires --subject; optional --expires-in-seconds.",
|
|
1241
1325
|
"examples": [
|
|
1242
|
-
"<%= config.bin %> <%= command.id %>",
|
|
1243
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1326
|
+
"<%= config.bin %> <%= command.id %> --subject=user-123",
|
|
1327
|
+
"<%= config.bin %> <%= command.id %> --subject=user-123 --expires-in-seconds=3600"
|
|
1244
1328
|
],
|
|
1245
1329
|
"flags": {
|
|
1246
|
-
"
|
|
1247
|
-
"description": "
|
|
1248
|
-
"
|
|
1249
|
-
|
|
1250
|
-
|
|
1330
|
+
"api-url": {
|
|
1331
|
+
"description": "[Self-hosted] PowerSync API URL. When set, context is treated as self-hosted (exclusive with --instance-id). Resolved: flag → cli.yaml → API_URL.",
|
|
1332
|
+
"exclusive": [
|
|
1333
|
+
"instance-id",
|
|
1334
|
+
"org-id",
|
|
1335
|
+
"project-id"
|
|
1336
|
+
],
|
|
1337
|
+
"helpGroup": "SELF_HOSTED_PROJECT",
|
|
1338
|
+
"name": "api-url",
|
|
1339
|
+
"required": false,
|
|
1251
1340
|
"hasDynamicHelp": false,
|
|
1252
1341
|
"multiple": false,
|
|
1253
1342
|
"type": "option"
|
|
1254
1343
|
},
|
|
1255
1344
|
"instance-id": {
|
|
1256
|
-
"description": "PowerSync Cloud instance ID.
|
|
1345
|
+
"description": "[Cloud] PowerSync Cloud instance ID (BSON ObjectID). When set, context is treated as cloud (exclusive with --api-url). Resolved: flag → cli.yaml → INSTANCE_ID.",
|
|
1257
1346
|
"helpGroup": "CLOUD_PROJECT",
|
|
1258
1347
|
"name": "instance-id",
|
|
1259
1348
|
"required": false,
|
|
@@ -1265,7 +1354,7 @@
|
|
|
1265
1354
|
"deprecated": {
|
|
1266
1355
|
"message": "--org-id is a no-op. Organization ID is resolved automatically."
|
|
1267
1356
|
},
|
|
1268
|
-
"description": "[Deprecated] Organization ID. Automatically resolved from --instance-id.",
|
|
1357
|
+
"description": "[Cloud] [Deprecated] Organization ID. Automatically resolved from --instance-id.",
|
|
1269
1358
|
"helpGroup": "CLOUD_PROJECT",
|
|
1270
1359
|
"hidden": true,
|
|
1271
1360
|
"name": "org-id",
|
|
@@ -1278,7 +1367,7 @@
|
|
|
1278
1367
|
"deprecated": {
|
|
1279
1368
|
"message": "--project-id is a no-op. Project ID is resolved automatically."
|
|
1280
1369
|
},
|
|
1281
|
-
"description": "[Deprecated] Project ID. Automatically resolved from --instance-id.",
|
|
1370
|
+
"description": "[Cloud] [Deprecated] Project ID. Automatically resolved from --instance-id.",
|
|
1282
1371
|
"helpGroup": "CLOUD_PROJECT",
|
|
1283
1372
|
"hidden": true,
|
|
1284
1373
|
"name": "project-id",
|
|
@@ -1287,186 +1376,131 @@
|
|
|
1287
1376
|
"multiple": false,
|
|
1288
1377
|
"type": "option"
|
|
1289
1378
|
},
|
|
1290
|
-
"
|
|
1291
|
-
"description": "
|
|
1292
|
-
"
|
|
1293
|
-
"
|
|
1379
|
+
"directory": {
|
|
1380
|
+
"description": "Directory containing PowerSync config. Defaults to \"powersync\". This is required if multiple powersync config files are present in subdirectories of the current working directory.",
|
|
1381
|
+
"helpGroup": "PROJECT",
|
|
1382
|
+
"name": "directory",
|
|
1383
|
+
"default": "powersync",
|
|
1384
|
+
"hasDynamicHelp": false,
|
|
1385
|
+
"multiple": false,
|
|
1386
|
+
"type": "option"
|
|
1387
|
+
},
|
|
1388
|
+
"expires-in-seconds": {
|
|
1389
|
+
"description": "Expiration time in seconds. Default is 43,200 (12 hours).",
|
|
1390
|
+
"name": "expires-in-seconds",
|
|
1391
|
+
"required": false,
|
|
1392
|
+
"default": 43200,
|
|
1393
|
+
"hasDynamicHelp": false,
|
|
1394
|
+
"multiple": false,
|
|
1395
|
+
"type": "option"
|
|
1396
|
+
},
|
|
1397
|
+
"kid": {
|
|
1398
|
+
"description": "[Self-hosted only] Key ID of the key to use for signing the token. If not provided, the first key will be used.",
|
|
1399
|
+
"name": "kid",
|
|
1400
|
+
"required": false,
|
|
1401
|
+
"hasDynamicHelp": false,
|
|
1402
|
+
"multiple": false,
|
|
1403
|
+
"type": "option"
|
|
1404
|
+
},
|
|
1405
|
+
"subject": {
|
|
1406
|
+
"description": "Subject of the token.",
|
|
1407
|
+
"name": "subject",
|
|
1408
|
+
"required": true,
|
|
1294
1409
|
"hasDynamicHelp": false,
|
|
1295
1410
|
"multiple": false,
|
|
1296
|
-
"options": [
|
|
1297
|
-
"json",
|
|
1298
|
-
"yaml"
|
|
1299
|
-
],
|
|
1300
1411
|
"type": "option"
|
|
1301
1412
|
}
|
|
1302
1413
|
},
|
|
1303
1414
|
"hasDynamicHelp": false,
|
|
1304
1415
|
"hiddenAliases": [],
|
|
1305
|
-
"id": "
|
|
1416
|
+
"id": "generate:token",
|
|
1306
1417
|
"pluginAlias": "powersync",
|
|
1307
1418
|
"pluginName": "powersync",
|
|
1308
1419
|
"pluginType": "core",
|
|
1309
1420
|
"strict": true,
|
|
1310
|
-
"summary": "
|
|
1421
|
+
"summary": "Generate a development JWT for client connections.",
|
|
1311
1422
|
"enableJsonFlag": false,
|
|
1312
|
-
"commandHelpGroup": "
|
|
1423
|
+
"commandHelpGroup": "INSTANCE",
|
|
1313
1424
|
"isESM": true,
|
|
1314
1425
|
"relativePath": [
|
|
1315
1426
|
"dist",
|
|
1316
1427
|
"commands",
|
|
1317
|
-
"
|
|
1318
|
-
"
|
|
1428
|
+
"generate",
|
|
1429
|
+
"token.js"
|
|
1319
1430
|
]
|
|
1320
1431
|
},
|
|
1321
|
-
"
|
|
1432
|
+
"init:cloud": {
|
|
1322
1433
|
"aliases": [],
|
|
1323
1434
|
"args": {},
|
|
1324
|
-
"description": "
|
|
1435
|
+
"description": "Copy a Cloud template into a config directory (default powersync/). Edit service.yaml then run link cloud and deploy.",
|
|
1325
1436
|
"examples": [
|
|
1326
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1437
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1438
|
+
"<%= config.bin %> <%= command.id %> --directory=powersync"
|
|
1327
1439
|
],
|
|
1328
|
-
"flags": {
|
|
1440
|
+
"flags": {
|
|
1441
|
+
"directory": {
|
|
1442
|
+
"description": "Directory containing PowerSync config. Defaults to \"powersync\". This is required if multiple powersync config files are present in subdirectories of the current working directory.",
|
|
1443
|
+
"helpGroup": "PROJECT",
|
|
1444
|
+
"name": "directory",
|
|
1445
|
+
"default": "powersync",
|
|
1446
|
+
"hasDynamicHelp": false,
|
|
1447
|
+
"multiple": false,
|
|
1448
|
+
"type": "option"
|
|
1449
|
+
}
|
|
1450
|
+
},
|
|
1329
1451
|
"hasDynamicHelp": false,
|
|
1330
|
-
"hidden": true,
|
|
1331
1452
|
"hiddenAliases": [],
|
|
1332
|
-
"id": "
|
|
1453
|
+
"id": "init:cloud",
|
|
1333
1454
|
"pluginAlias": "powersync",
|
|
1334
1455
|
"pluginName": "powersync",
|
|
1335
1456
|
"pluginType": "core",
|
|
1336
1457
|
"strict": true,
|
|
1337
|
-
"summary": "
|
|
1458
|
+
"summary": "Scaffold a PowerSync Cloud config directory from a template.",
|
|
1338
1459
|
"enableJsonFlag": false,
|
|
1460
|
+
"commandHelpGroup": "PROJECT SETUP",
|
|
1339
1461
|
"isESM": true,
|
|
1340
1462
|
"relativePath": [
|
|
1341
1463
|
"dist",
|
|
1342
1464
|
"commands",
|
|
1343
|
-
"
|
|
1344
|
-
"
|
|
1465
|
+
"init",
|
|
1466
|
+
"cloud.js"
|
|
1345
1467
|
]
|
|
1346
1468
|
},
|
|
1347
|
-
"
|
|
1469
|
+
"init": {
|
|
1348
1470
|
"aliases": [],
|
|
1349
1471
|
"args": {},
|
|
1350
|
-
"description": "
|
|
1472
|
+
"description": "Scaffold a PowerSync config directory from a template. Use init cloud or init self-hosted. For Cloud, edit service.yaml then run link cloud and deploy.",
|
|
1351
1473
|
"examples": [
|
|
1352
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1353
|
-
"<%= config.bin %> <%= command.id %> --project-id=<id> --output=json"
|
|
1474
|
+
"<%= config.bin %> <%= command.id %>"
|
|
1354
1475
|
],
|
|
1355
|
-
"flags": {
|
|
1356
|
-
"org-id": {
|
|
1357
|
-
"description": "Optional Organization ID. Defaults to all organizations.",
|
|
1358
|
-
"name": "org-id",
|
|
1359
|
-
"required": false,
|
|
1360
|
-
"hasDynamicHelp": false,
|
|
1361
|
-
"multiple": false,
|
|
1362
|
-
"type": "option"
|
|
1363
|
-
},
|
|
1364
|
-
"output": {
|
|
1365
|
-
"description": "Output format: human or json.",
|
|
1366
|
-
"name": "output",
|
|
1367
|
-
"default": "human",
|
|
1368
|
-
"hasDynamicHelp": false,
|
|
1369
|
-
"multiple": false,
|
|
1370
|
-
"options": [
|
|
1371
|
-
"human",
|
|
1372
|
-
"json"
|
|
1373
|
-
],
|
|
1374
|
-
"type": "option"
|
|
1375
|
-
},
|
|
1376
|
-
"output-file": {
|
|
1377
|
-
"description": "Optionally write instance information to a file.",
|
|
1378
|
-
"name": "output-file",
|
|
1379
|
-
"required": false,
|
|
1380
|
-
"hasDynamicHelp": false,
|
|
1381
|
-
"multiple": false,
|
|
1382
|
-
"type": "option"
|
|
1383
|
-
},
|
|
1384
|
-
"project-id": {
|
|
1385
|
-
"description": "Optional Project ID. Defaults to all projects in the org.",
|
|
1386
|
-
"name": "project-id",
|
|
1387
|
-
"required": false,
|
|
1388
|
-
"hasDynamicHelp": false,
|
|
1389
|
-
"multiple": false,
|
|
1390
|
-
"type": "option"
|
|
1391
|
-
}
|
|
1392
|
-
},
|
|
1476
|
+
"flags": {},
|
|
1393
1477
|
"hasDynamicHelp": false,
|
|
1478
|
+
"hidden": true,
|
|
1394
1479
|
"hiddenAliases": [],
|
|
1395
|
-
"id": "
|
|
1480
|
+
"id": "init",
|
|
1396
1481
|
"pluginAlias": "powersync",
|
|
1397
1482
|
"pluginName": "powersync",
|
|
1398
1483
|
"pluginType": "core",
|
|
1399
1484
|
"strict": true,
|
|
1400
|
-
"summary": "
|
|
1485
|
+
"summary": "Scaffold a PowerSync config directory from a template.",
|
|
1401
1486
|
"enableJsonFlag": false,
|
|
1402
|
-
"commandHelpGroup": "CLOUD",
|
|
1403
1487
|
"isESM": true,
|
|
1404
1488
|
"relativePath": [
|
|
1405
1489
|
"dist",
|
|
1406
1490
|
"commands",
|
|
1407
|
-
"
|
|
1408
|
-
"
|
|
1491
|
+
"init",
|
|
1492
|
+
"index.js"
|
|
1409
1493
|
]
|
|
1410
1494
|
},
|
|
1411
|
-
"
|
|
1495
|
+
"init:self-hosted": {
|
|
1412
1496
|
"aliases": [],
|
|
1413
1497
|
"args": {},
|
|
1414
|
-
"description": "
|
|
1498
|
+
"description": "Copy a self-hosted template into a config directory (default powersync/). Configure service.yaml with your self-hosted instance details.",
|
|
1415
1499
|
"examples": [
|
|
1416
1500
|
"<%= config.bin %> <%= command.id %>",
|
|
1417
|
-
"<%= config.bin %> <%= command.id %> --
|
|
1418
|
-
"<%= config.bin %> <%= command.id %> --instance-id=<id>"
|
|
1501
|
+
"<%= config.bin %> <%= command.id %> --directory=powersync"
|
|
1419
1502
|
],
|
|
1420
1503
|
"flags": {
|
|
1421
|
-
"api-url": {
|
|
1422
|
-
"description": "[Self-hosted] PowerSync API URL. When set, context is treated as self-hosted (exclusive with --instance-id). Resolved: flag → cli.yaml → API_URL.",
|
|
1423
|
-
"exclusive": [
|
|
1424
|
-
"instance-id",
|
|
1425
|
-
"org-id",
|
|
1426
|
-
"project-id"
|
|
1427
|
-
],
|
|
1428
|
-
"helpGroup": "SELF_HOSTED_PROJECT",
|
|
1429
|
-
"name": "api-url",
|
|
1430
|
-
"required": false,
|
|
1431
|
-
"hasDynamicHelp": false,
|
|
1432
|
-
"multiple": false,
|
|
1433
|
-
"type": "option"
|
|
1434
|
-
},
|
|
1435
|
-
"instance-id": {
|
|
1436
|
-
"description": "[Cloud] PowerSync Cloud instance ID (BSON ObjectID). When set, context is treated as cloud (exclusive with --api-url). Resolved: flag → cli.yaml → INSTANCE_ID.",
|
|
1437
|
-
"helpGroup": "CLOUD_PROJECT",
|
|
1438
|
-
"name": "instance-id",
|
|
1439
|
-
"required": false,
|
|
1440
|
-
"hasDynamicHelp": false,
|
|
1441
|
-
"multiple": false,
|
|
1442
|
-
"type": "option"
|
|
1443
|
-
},
|
|
1444
|
-
"org-id": {
|
|
1445
|
-
"deprecated": {
|
|
1446
|
-
"message": "--org-id is a no-op. Organization ID is resolved automatically."
|
|
1447
|
-
},
|
|
1448
|
-
"description": "[Cloud] [Deprecated] Organization ID. Automatically resolved from --instance-id.",
|
|
1449
|
-
"helpGroup": "CLOUD_PROJECT",
|
|
1450
|
-
"hidden": true,
|
|
1451
|
-
"name": "org-id",
|
|
1452
|
-
"required": false,
|
|
1453
|
-
"hasDynamicHelp": false,
|
|
1454
|
-
"multiple": false,
|
|
1455
|
-
"type": "option"
|
|
1456
|
-
},
|
|
1457
|
-
"project-id": {
|
|
1458
|
-
"deprecated": {
|
|
1459
|
-
"message": "--project-id is a no-op. Project ID is resolved automatically."
|
|
1460
|
-
},
|
|
1461
|
-
"description": "[Cloud] [Deprecated] Project ID. Automatically resolved from --instance-id.",
|
|
1462
|
-
"helpGroup": "CLOUD_PROJECT",
|
|
1463
|
-
"hidden": true,
|
|
1464
|
-
"name": "project-id",
|
|
1465
|
-
"required": false,
|
|
1466
|
-
"hasDynamicHelp": false,
|
|
1467
|
-
"multiple": false,
|
|
1468
|
-
"type": "option"
|
|
1469
|
-
},
|
|
1470
1504
|
"directory": {
|
|
1471
1505
|
"description": "Directory containing PowerSync config. Defaults to \"powersync\". This is required if multiple powersync config files are present in subdirectories of the current working directory.",
|
|
1472
1506
|
"helpGroup": "PROJECT",
|
|
@@ -1475,36 +1509,24 @@
|
|
|
1475
1509
|
"hasDynamicHelp": false,
|
|
1476
1510
|
"multiple": false,
|
|
1477
1511
|
"type": "option"
|
|
1478
|
-
},
|
|
1479
|
-
"output": {
|
|
1480
|
-
"description": "Output format: human-readable, json, or yaml.",
|
|
1481
|
-
"name": "output",
|
|
1482
|
-
"default": "human",
|
|
1483
|
-
"hasDynamicHelp": false,
|
|
1484
|
-
"multiple": false,
|
|
1485
|
-
"options": [
|
|
1486
|
-
"human",
|
|
1487
|
-
"json",
|
|
1488
|
-
"yaml"
|
|
1489
|
-
],
|
|
1490
|
-
"type": "option"
|
|
1491
1512
|
}
|
|
1492
1513
|
},
|
|
1493
1514
|
"hasDynamicHelp": false,
|
|
1494
1515
|
"hiddenAliases": [],
|
|
1495
|
-
"id": "
|
|
1516
|
+
"id": "init:self-hosted",
|
|
1496
1517
|
"pluginAlias": "powersync",
|
|
1497
1518
|
"pluginName": "powersync",
|
|
1498
1519
|
"pluginType": "core",
|
|
1499
1520
|
"strict": true,
|
|
1500
|
-
"summary": "
|
|
1521
|
+
"summary": "Scaffold a PowerSync self-hosted config directory from a template.",
|
|
1501
1522
|
"enableJsonFlag": false,
|
|
1502
|
-
"commandHelpGroup": "
|
|
1523
|
+
"commandHelpGroup": "PROJECT SETUP",
|
|
1503
1524
|
"isESM": true,
|
|
1504
1525
|
"relativePath": [
|
|
1505
1526
|
"dist",
|
|
1506
1527
|
"commands",
|
|
1507
|
-
"
|
|
1528
|
+
"init",
|
|
1529
|
+
"self-hosted.js"
|
|
1508
1530
|
]
|
|
1509
1531
|
},
|
|
1510
1532
|
"link:cloud": {
|
|
@@ -1871,5 +1893,5 @@
|
|
|
1871
1893
|
]
|
|
1872
1894
|
}
|
|
1873
1895
|
},
|
|
1874
|
-
"version": "0.10.
|
|
1896
|
+
"version": "0.10.2"
|
|
1875
1897
|
}
|