back cli: add user dump and list commands

This commit is contained in:
Eric Doughty-Papassideris
2025-02-28 00:52:19 +01:00
committed by Anton Shepilov
parent eec23b230b
commit 8efcb2546c
6 changed files with 439 additions and 0 deletions
@@ -35,6 +35,8 @@ export default async function runWithPlatform(
spinner.fail(err.stack || err);
process.exitCode = 1;
}
// Spinner seems to interrupt still buffered output otherwise
await new Promise(resolve => setTimeout(resolve, 200));
spinner.start("Platform: shutting down...");
await platform.stop();
spinner.succeed("Platform: shutdown");