1
0
mirror of https://github.com/bitwarden/cli synced 2025-12-06 04:23:19 +00:00

force sync option

This commit is contained in:
Kyle Spearrin
2018-05-14 14:58:18 -04:00
parent 4f3f84539d
commit 4166efceca

View File

@@ -9,7 +9,7 @@ export class SyncCommand {
async run(cmd: program.Command): Promise<Response> {
try {
const result = await this.syncService.fullSync(false);
const result = await this.syncService.fullSync(cmd.force || false);
return Response.success();
} catch (e) {
return Response.success(e.toString());