2024-08-07 02:11:38 +08:00
|
|
|
import { editor, sync } from "@silverbulletmd/silverbullet/syscalls";
|
2023-07-02 17:25:32 +08:00
|
|
|
|
|
|
|
export async function syncSpaceCommand() {
|
|
|
|
await editor.flashNotification("Syncing space...");
|
2023-08-16 02:24:02 +08:00
|
|
|
await sync.scheduleSpaceSync();
|
2023-07-02 17:25:32 +08:00
|
|
|
await editor.flashNotification("Done.");
|
|
|
|
}
|