@tinycloud/cli 0.7.0-beta.18 → 0.7.0-beta.19

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/dist/index.js CHANGED
@@ -50225,6 +50225,16 @@ function registerAccountCommand(program2) {
50225
50225
  }
50226
50226
  });
50227
50227
  const index = account.command("index").description("Manage the materialized account SQLite index");
50228
+ index.command("ensure").description("Create account SQLite index tables if they are missing").action(async (_options, cmd) => {
50229
+ try {
50230
+ const node = await authenticatedNode(cmd);
50231
+ const result = await node.account.index.ensure();
50232
+ assertOk(result);
50233
+ outputJson({ ...result.data, ensured: true });
50234
+ } catch (error) {
50235
+ handleError(error);
50236
+ }
50237
+ });
50228
50238
  index.command("status").description("Show account SQLite index sync status").action(async (_options, cmd) => {
50229
50239
  try {
50230
50240
  const node = await authenticatedNode(cmd);