feat(cli): Add endo reset command
MODIFY
packages/cli/src/endo.js
packages/cli/src/endo.js
@@ -12,7 +12,7 @@ import url from 'url';
import crypto from 'crypto';
import { Command } from 'commander';
-import { start, stop, restart, clean } from '@endo/daemon';
+import { start, stop, restart, clean, reset } from '@endo/daemon';
import { whereEndoState, whereEndoSock, whereEndoCache } from '@endo/where';
import {
mapLocation,
@@ -83,6 +83,10 @@ export const main = async rawArgs => {
await clean();
});
+ program.command('reset').action(async _cmd => {
+ await reset();
+ });
+
program
.command('map <application-path>')
.action(async (_cmd, [applicationPath]) => {

feat(cli): Add endo reset command